commit | 0d1e0c7cd5909d6c6aa0957179318e13fcca971a | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Tue Jul 03 11:14:53 2018 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Jul 09 09:07:54 2018 -0600 |
tree | 891b19b5a5c21e0a9daddcf281892184113265dc | |
parent | 903d23f0a354f226fa78f1c1c34b60aaf992e812 [diff] |
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>