diff options
author | Li Lingfeng <[email protected]> | 2024-08-17 15:11:08 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-10-22 08:16:43 -0600 |
commit | 919b5139bd1d557a4d4cd4b2466e2440dda65484 (patch) | |
tree | 5a83eba03fef1affe1b4ba8de466ed5ed362f997 /scripts/generate_rust_analyzer.py | |
parent | 96a9fe64bfd486ebeeacf1e6011801ffe89dae18 (diff) |
block: flush all throttled bios when deleting the cgroup
When a process migrates to another cgroup and the original cgroup is deleted,
the restrictions of throttled bios cannot be removed. If the restrictions
are set too low, it will take a long time to complete these bios.
Refer to the process of deleting a disk to remove the restrictions and
issue bios when deleting the cgroup.
This makes difference on the behavior of throttled bios:
Before: the limit of the throttled bios can't be changed and the bios will
complete under this limit;
Now: the limit will be canceled and the throttled bios will be flushed
immediately.
References:
[1] https://lore.kernel.org/r/[email protected]
[2] https://lore.kernel.org/all/[email protected]/
Signed-off-by: Li Lingfeng <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions