summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2018-07-03 11:14:53 -0400
committerJens Axboe <axboe@kernel.dk>2018-07-09 09:07:54 -0600
commit0d1e0c7cd5909d6c6aa0957179318e13fcca971a (patch)
tree891b19b5a5c21e0a9daddcf281892184113265dc /block
parent903d23f0a354f226fa78f1c1c34b60aaf992e812 (diff)
downloadlinux-0d1e0c7cd5909d6c6aa0957179318e13fcca971a.tar.bz2
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')
0 files changed, 0 insertions, 0 deletions