blk-throttle: pass a gendisk to blk_throtl_init and blk_throtl_exit
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:04:56 +0000 (20:04 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:17:27 +0000 (19:17 -0600)
commite13793bae65919cd3e6a7827f8d30f4dbb8584ee
tree2c5232b391d5629ee812460f1204a768d9a5ecb2
parent3657647e33dff916a2d2d9df926d9bca3907d34f
blk-throttle: pass a gendisk to blk_throtl_init and blk_throtl_exit

Pass the gendisk to blk_throtl_init and blk_throtl_exit as part of moving
the blk-cgroup infrastructure to be gendisk based.

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