]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe789d5cf33a5767a673f4c50dcc3e85da10c287
tree2c5232b391d5629ee812460f1204a768d9a5ecb2
parent9e38971aaf7a5e0e8c37bbc4a9526bb192dd2ee0
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