summaryrefslogtreecommitdiff
path: root/include/trace/events/block.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-11-26 06:18:34 +0300
committerJens Axboe <axboe@kernel.dk>2020-12-02 22:44:20 +0300
commitacaf523a7bf226b28504306c1cfee194520123b3 (patch)
tree1276fc9123fe78d2ac96b50e9b913063161d919f /include/trace/events/block.h
parentb0d97557ebfc9d5ba5f2939339a9fdd267abafeb (diff)
downloadlinux-acaf523a7bf226b28504306c1cfee194520123b3.tar.xz
blk-throttle: don't check whether or not lower limit is valid if CONFIG_BLK_DEV_THROTTLING_LOW is off
blk_throtl_update_limit_valid() will search for descendants to see if 'LIMIT_LOW' of bps/iops and READ/WRITE is nonzero. However, they're always zero if CONFIG_BLK_DEV_THROTTLING_LOW is not set, furthermore, a lot of time will be wasted to iterate descendants. Thus do nothing in blk_throtl_update_limit_valid() in such situation. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/trace/events/block.h')
0 files changed, 0 insertions, 0 deletions