summaryrefslogtreecommitdiff
path: root/block/blk-rq-qos.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-02-03 16:03:56 +0100
committerJens Axboe <axboe@kernel.dk>2023-02-03 08:20:05 -0700
commitba91c849fa50dbc6519cf7808177b3a9b7f6bc97 (patch)
treeb0363e99e6d55732662655f43600f5e4cf78cc7f /block/blk-rq-qos.h
parent3963d84df7974b6687cb34bce3b9e0b2686f839c (diff)
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.h2
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