Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1610066

[PATCH V7 03/18] blk-throttle: add configure option for new .low interface

From Shaohua Li <shli@fb.com>
Newsgroups linux.kernel
Subject [PATCH V7 03/18] blk-throttle: add configure option for new .low interface
Date 2017-03-27 20:50 +0200
Message-ID <tpHSh-42B-3@gated-at.bofh.it> (permalink)
References <tpH5T-3my-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


As discussed in LSF, add configure option for the interface and mark it
as experimental, so people can try/test.

Signed-off-by: Shaohua Li <shli@fb.com>
---
 block/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/block/Kconfig b/block/Kconfig
index e9f780f..89cd28f 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -115,6 +115,18 @@ config BLK_DEV_THROTTLING
 
 	See Documentation/cgroups/blkio-controller.txt for more information.
 
+config BLK_DEV_THROTTLING_LOW
+	bool "Block throttling .low limit interface support (EXPERIMENTAL)"
+	depends on BLK_DEV_THROTTLING
+	default n
+	---help---
+	Add .low limit interface for block throttling. The low limit is a best
+	effort limit to prioritize cgroups. Depending on the setting, the limit
+	can be used to protect cgroups in terms of bandwidth/iops and better
+	utilize disk resource.
+
+	Note, this is an experimental interface and could be changed someday.
+
 config BLK_CMDLINE_PARSER
 	bool "Block device command line partition parser"
 	default n
-- 
2.9.3

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH V7 00/18] blk-throttle: add .low limit Shaohua Li <shli@fb.com> - 2017-03-27 20:40 +0200
  [PATCH V7 09/18] blk-throttle: make throtl_slice tunable Shaohua Li <shli@fb.com> - 2017-03-27 20:40 +0200
  [PATCH V7 04/18] blk-throttle: add .low interface Shaohua Li <shli@fb.com> - 2017-03-27 20:40 +0200
  [PATCH V7 08/18] blk-throttle: make sure expire time isn't too big Shaohua Li <shli@fb.com> - 2017-03-27 20:40 +0200
  [PATCH V7 07/18] blk-throttle: add downgrade logic Shaohua Li <shli@fb.com> - 2017-03-27 20:40 +0200
  [PATCH V7 03/18] blk-throttle: add configure option for new .low interface Shaohua Li <shli@fb.com> - 2017-03-27 20:50 +0200

csiph-web