diff options
author | Christoph Hellwig <hch@lst.de> | 2022-09-21 20:04:55 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-27 03:17:27 +0200 |
commit | 3657647e33dff916a2d2d9df926d9bca3907d34f (patch) | |
tree | 9e9ebbe7faa5bf9e7a61f9d57789069c3274f48b /block/ioprio.c | |
parent | blk-iocost: pass a gendisk to blk_iocost_init (diff) | |
download | linux-3657647e33dff916a2d2d9df926d9bca3907d34f.tar.xz linux-3657647e33dff916a2d2d9df926d9bca3907d34f.zip |
blk-iocost: cleanup ioc_qos_write
Use a local disk variable instead of retrieving the disk and
request_queue over and over by various means.
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/20220921180501.1539876-12-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioprio.c')
0 files changed, 0 insertions, 0 deletions