]> git.baikalelectronics.ru Git - kernel.git/commit
blk-throttle: add hierarchy support for latency target and idle time
authorShaohua Li <shli@fb.com>
Wed, 17 May 2017 20:07:24 +0000 (13:07 -0700)
committerJens Axboe <axboe@fb.com>
Mon, 22 May 2017 20:47:12 +0000 (14:47 -0600)
commit5df33cf908bee84ac76533745c1c5a96cad99599
treeea36cd79d9bf4ba855d231826d5bf17a58fd0242
parent4ca6e51b940d7e938a17cd36206a7ae158216d70
blk-throttle: add hierarchy support for latency target and idle time

For idle time, children's setting should not be bigger than parent's.
For latency target, children's setting should not be smaller than
parent's. The leaf nodes will adjust their settings according to the
hierarchy and compare their IO with the settings and do
upgrade/downgrade. parents nodes don't need to track their IO
latency/idle time.

Signed-off-by: Shaohua Li <shli@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-throttle.c