]> git.baikalelectronics.ru Git - kernel.git/commit
swap,blkcg: issue swap io with the appropriate context
authorTejun Heo <tj@kernel.org>
Tue, 3 Jul 2018 15:14:54 +0000 (11:14 -0400)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commitffdfefcadc93019962553701e6dfdb397b0ef082
tree349c7095f6e4faad0eadd64b516e80e1a0d3ef8d
parenta198b992cf800af652d9e908ff48da62825ece52
swap,blkcg: issue swap io with the appropriate context

For backcharging we need to know who the page belongs to when swapping
it out.  We don't worry about things that do ->rw_page (zram etc) at the
moment, we're only worried about pages that actually go to a block
device.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h
mm/page_io.c