]> 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)
commit72498dbca866c2930242743abf3448bf44e6491c
treeea36cd79d9bf4ba855d231826d5bf17a58fd0242
parente206a355d47505933f3b87154e86b8e2ca62e09e
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