blk-cgroup: store a gendisk to throttle in struct task_struct
authorChristoph Hellwig <hch@lst.de>
Fri, 3 Feb 2023 15:03:48 +0000 (16:03 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Feb 2023 15:20:05 +0000 (08:20 -0700)
commitf05837ed73d0c73e950b2d9f2612febb0d3d451e
treec32ba7974f56772946ce99c7c3440b0e77317548
parent84d7d462b16dd5f0bf7c7ca9254bf81db2c952a2
blk-cgroup: store a gendisk to throttle in struct task_struct

Switch from a request_queue pointer and reference to a gendisk once
for the throttle information in struct task_struct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andreas Herrmann <aherrmann@suse.de>
Link: https://lore.kernel.org/r/20230203150400.3199230-8-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-cgroup.c
include/linux/sched.h
kernel/fork.c
mm/swapfile.c