blk-cgroup: pass a gendisk to pd_alloc_fn
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:58 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commit0a0b4f79db2e6e745672aa3852cf5fdf7af14a0f
tree8203bd55bd2db45d0c1970c871796fcb2865b99a
parent40e4996ec099a301083eb7e29095ebdfc31443da
blk-cgroup: pass a gendisk to pd_alloc_fn

No need to the request_queue here, pass a gendisk and extract the
node ids from that.

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-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-cgroup.c
block/blk-cgroup.c
block/blk-cgroup.h
block/blk-iocost.c
block/blk-iolatency.c
block/blk-ioprio.c
block/blk-throttle.c