]> Git Repo - J-linux.git/commitdiff
rq-qos: get rid of redundant wbt_update_limits()
authorYufen Yu <[email protected]>
Tue, 17 Sep 2019 12:04:27 +0000 (20:04 +0800)
committerJens Axboe <[email protected]>
Fri, 27 Sep 2019 07:13:10 +0000 (01:13 -0600)
We have updated limits after calling wbt_set_min_lat(). No need to
update again.

Reviewed-by: Bob Liu <[email protected]>
Signed-off-by: Yufen Yu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
block/blk-sysfs.c

index 962fc0c44381fd45c0e2e2f68799d16664245aed..46f5198be017320185d287e5d4d502037da54b86 100644 (file)
@@ -482,7 +482,6 @@ static ssize_t queue_wb_lat_store(struct request_queue *q, const char *page,
        blk_mq_quiesce_queue(q);
 
        wbt_set_min_lat(q, val);
-       wbt_update_limits(q);
 
        blk_mq_unquiesce_queue(q);
        blk_mq_unfreeze_queue(q);
This page took 0.050405 seconds and 4 git commands to generate.