diff options
author | Tejun Heo <[email protected]> | 2019-06-27 13:39:52 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2019-07-10 09:00:57 -0600 |
commit | d3f77dfdc71835f8db71ca57d272b1fbec9dfc18 (patch) | |
tree | ced59cee416b39c3c2f80c647c736a2d378772e3 /net/lapb/lapb_timer.c | |
parent | 653c45c6b90c9659facbef10546d1f3a8e37d0cf (diff) |
blkcg: implement REQ_CGROUP_PUNT
When a shared kthread needs to issue a bio for a cgroup, doing so
synchronously can lead to priority inversions as the kthread can be
trapped waiting for that cgroup. This patch implements
REQ_CGROUP_PUNT flag which makes submit_bio() punt the actual issuing
to a dedicated per-blkcg work item to avoid such priority inversions.
This will be used to fix priority inversions in btrfs compression and
should be generally useful as we grow filesystem support for
comprehensive IO control.
Cc: Chris Mason <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions