diff options
author | Josef Bacik <jbacik@fb.com> | 2018-07-03 18:14:53 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-09 18:07:54 +0300 |
commit | 0d1e0c7cd5909d6c6aa0957179318e13fcca971a (patch) | |
tree | 891b19b5a5c21e0a9daddcf281892184113265dc /block/blk-cgroup.c | |
parent | 903d23f0a354f226fa78f1c1c34b60aaf992e812 (diff) | |
download | linux-0d1e0c7cd5909d6c6aa0957179318e13fcca971a.tar.xz |
blk: introduce REQ_SWAP
Just like REQ_META, it's important to know the IO coming down is swap
in order to guard against potential IO priority inversion issues with
cgroups. Add REQ_SWAP and use it for all swap IO, and add it to our
bio_issue_as_root_blkg helper.
Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.c')
0 files changed, 0 insertions, 0 deletions