summaryrefslogtreecommitdiff
path: root/block/blk-rq-qos.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-03 18:03:52 +0300
committerJens Axboe <axboe@kernel.dk>2023-02-03 18:20:05 +0300
commit4e1d91ae876bd12f327340f11a16a1278985e7e1 (patch)
tree2cfd201288495cb93e0646a2d6e561b4d2be5b01 /block/blk-rq-qos.c
parent0bc65bd41dfd2f75b9f38812326d767db5cd0663 (diff)
downloadlinux-4e1d91ae876bd12f327340f11a16a1278985e7e1.tar.xz
blk-wbt: open code wbt_queue_depth_changed in wbt_init
wbt_queue_depth_changed just updates a field and calls another function. Open code it in wbt_init, so that the local queue variable can be used instead of the one stored in the rq_qos. This will allow delaying that rq_qos->queue assignment in a subsequent patch. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Andreas Herrmann <aherrmann@suse.de> Acked-by: Tejun Heo <tj@kernel.org> Link: https://lore.kernel.org/r/20230203150400.3199230-12-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.c')
0 files changed, 0 insertions, 0 deletions