diff options
author | Yufen Yu <yuyufen@huawei.com> | 2019-09-17 20:04:27 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-09-27 01:13:10 -0600 |
commit | 2af2783f2ea4f273598557b247e320509247df80 (patch) | |
tree | d3bf9e0248ac028d2e1206e19460fc5fc2cc89da /block/blk-sysfs.c | |
parent | 7afcccafa59fb63b58f863a6c5e603a34625955b (diff) |
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/blk-sysfs.c')
-rw-r--r-- | block/blk-sysfs.c | 1 |
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); |