diff options
| author | Christoph Hellwig <[email protected]> | 2023-02-03 16:03:48 +0100 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-02-03 08:20:05 -0700 |
| commit | f05837ed73d0c73e950b2d9f2612febb0d3d451e (patch) | |
| tree | c32ba7974f56772946ce99c7c3440b0e77317548 /include/linux | |
| parent | 84d7d462b16dd5f0bf7c7ca9254bf81db2c952a2 (diff) | |
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 <[email protected]>
Reviewed-by: Andreas Herrmann <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 853d08f7562b..6f6ce9ca7097 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1436,7 +1436,7 @@ struct task_struct { #endif #ifdef CONFIG_BLK_CGROUP - struct request_queue *throttle_queue; + struct gendisk *throttle_disk; #endif #ifdef CONFIG_UPROBES |