diff options
author | 2023-02-03 16:03:48 +0100 | |
---|---|---|
committer | 2023-02-03 08:20:05 -0700 | |
commit | f05837ed73d0c73e950b2d9f2612febb0d3d451e (patch) | |
tree | c32ba7974f56772946ce99c7c3440b0e77317548 /kernel | |
parent | blk-cgroup: pin the gendisk in struct blkcg_gq (diff) | |
download | linux-f05837ed73d0c73e950b2d9f2612febb0d3d451e.tar.gz linux-f05837ed73d0c73e950b2d9f2612febb0d3d451e.tar.bz2 linux-f05837ed73d0c73e950b2d9f2612febb0d3d451e.zip |
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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 9f7fe3541897..d9c97704b7c9 100644 --- a/kernel/fork.c +++ b/kernel/fork.c @@ -1044,7 +1044,7 @@ static struct task_struct *dup_task_struct(struct task_struct *orig, int node) #endif #ifdef CONFIG_BLK_CGROUP - tsk->throttle_queue = NULL; + tsk->throttle_disk = NULL; tsk->use_memdelay = 0; #endif |