diff options
author | Christoph Hellwig <hch@lst.de> | 2023-02-03 16:03:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-02-03 16:20:05 +0100 |
commit | ba91c849fa50dbc6519cf7808177b3a9b7f6bc97 (patch) | |
tree | b0363e99e6d55732662655f43600f5e4cf78cc7f /block/blk-rq-qos.h | |
parent | blk-rq-qos: constify rq_qos_ops (diff) | |
download | linux-ba91c849fa50dbc6519cf7808177b3a9b7f6bc97.tar.xz linux-ba91c849fa50dbc6519cf7808177b3a9b7f6bc97.zip |
blk-rq-qos: store a gendisk instead of request_queue in struct rq_qos
This is what about half of the users already want, and it's only going to
grow more.
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-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-rq-qos.h')
-rw-r--r-- | block/blk-rq-qos.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-rq-qos.h b/block/blk-rq-qos.h index 2b7b668479f7..b02a1a3d33a8 100644 --- a/block/blk-rq-qos.h +++ b/block/blk-rq-qos.h @@ -26,7 +26,7 @@ struct rq_wait { struct rq_qos { const struct rq_qos_ops *ops; - struct request_queue *q; + struct gendisk *disk; enum rq_qos_id id; struct rq_qos *next; #ifdef CONFIG_BLK_DEBUG_FS |