]> www.infradead.org Git - users/hch/block.git/commit
blk-cgroup: move the cgroup information to struct gendisk blk-cgroup-disk
authorChristoph Hellwig <hch@lst.de>
Wed, 1 Feb 2023 07:53:11 +0000 (08:53 +0100)
committerChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 08:08:21 +0000 (09:08 +0100)
commit8cec297c1a8bc0eb13ce597a856656809d33b70f
tree3754924c88db3cbf34393aad9898e4083b78e167
parent821e840c08ad83736eced4037cdad864e95e2584
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>
block/bfq-cgroup.c
block/blk-cgroup.c
block/blk-cgroup.h
block/blk-iolatency.c
block/blk-throttle.c
include/linux/blkdev.h