summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorYufen Yu <yuyufen@huawei.com>2019-09-17 14:04:27 +0200
committerJens Axboe <axboe@kernel.dk>2019-09-27 09:13:10 +0200
commit2af2783f2ea4f273598557b247e320509247df80 (patch)
treed3bf9e0248ac028d2e1206e19460fc5fc2cc89da /block
parentiocost: bump up default latency targets for hard disks (diff)
downloadlinux-2af2783f2ea4f273598557b247e320509247df80.tar.xz
linux-2af2783f2ea4f273598557b247e320509247df80.zip
rq-qos: get rid of redundant wbt_update_limits()
We have updated limits after calling wbt_set_min_lat(). No need to update again. Reviewed-by: Bob Liu <bob.liu@oracle.com> Signed-off-by: Yufen Yu <yuyufen@huawei.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/blk-sysfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 962fc0c44381..46f5198be017 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -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);