]> git.baikalelectronics.ru Git - kernel.git/commit
blk-throttle: add interface to configure idle time threshold
authorShaohua Li <shli@fb.com>
Mon, 27 Mar 2017 17:51:42 +0000 (10:51 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 28 Mar 2017 14:02:20 +0000 (08:02 -0600)
commit83308934159eb7e21446babcad2c0606201181b6
tree9f07b5a5edb225e495dc6ec46b5a7e7b96182fcc
parent33a00872c6af2207d5899b0c8d5a14bcd2f6d788
blk-throttle: add interface to configure idle time threshold

Add interface to configure the threshold. The io.low interface will
like:
echo "8:16 rbps=2097152 wbps=max idle=2000" > io.low

idle is in microsecond unit.

Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-throttle.c