Skip to content

Commit

Permalink
rq-qos: get rid of redundant wbt_update_limits()
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Yufen Yu authored and axboe committed Sep 27, 2019
1 parent 7afccca commit 2af2783
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion block/blk-sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2af2783

Please sign in to comment.