Skip to content

Commit 2af2783

Browse files
Yufen Yuaxboe
authored andcommitted
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 <[email protected]> Signed-off-by: Yufen Yu <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 7afccca commit 2af2783

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

block/blk-sysfs.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,6 @@ static ssize_t queue_wb_lat_store(struct request_queue *q, const char *page,
482482
blk_mq_quiesce_queue(q);
483483

484484
wbt_set_min_lat(q, val);
485-
wbt_update_limits(q);
486485

487486
blk_mq_unquiesce_queue(q);
488487
blk_mq_unfreeze_queue(q);

0 commit comments

Comments
 (0)