blk-rq-qos: store a gendisk instead of request_queue in struct rq_qos
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:56 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commitba91c849fa50dbc6519cf7808177b3a9b7f6bc97
treeb0363e99e6d55732662655f43600f5e4cf78cc7f
parent3963d84df7974b6687cb34bce3b9e0b2686f839c
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>
block/blk-iocost.c
block/blk-iolatency.c
block/blk-mq-debugfs.c
block/blk-rq-qos.c
block/blk-rq-qos.h
block/blk-wbt.c