blk-cgroup: move the cgroup information to struct gendisk
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:04:00 +0000 (16:04 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commit3f13ab7c80fdb0ada86a8e3e818960bc1ccbaa59
tree3754924c88db3cbf34393aad9898e4083b78e167
parent479664cee14d8452d3d76f8d0b7fccd0cbe4ed49
blk-cgroup: move the cgroup information to struct gendisk

cgroup information only makes sense on a live gendisk that allows
file system I/O (which includes the raw block device).  So move over
the cgroup related members.

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-20-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-iolatency.c
block/blk-throttle.c
include/linux/blkdev.h