blk-cgroup: pass a gendisk to blkcg_schedule_throttle
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Sep 2022 18:05:00 +0000 (20:05 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 27 Sep 2022 01:17:28 +0000 (19:17 -0600)
commitde185b56e8a62822d4e1cdb3e068b38ca709aa47
tree1968673ce080f6be094d1110bc38f325e5934da1
parent00ad6991bbae116b7c83f68754edd6f4d5e65e01
blk-cgroup: pass a gendisk to blkcg_schedule_throttle

Pass the gendisk to blkcg_schedule_throttle as part of moving the
blk-cgroup infrastructure to be gendisk based.  Remove the unused
!BLK_CGROUP stub while we're at it.

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-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
block/blk-iocost.c
block/blk-iolatency.c
include/linux/blk-cgroup.h
mm/swapfile.c