summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-01-04 00:29:15 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-01-04 22:13:48 +0100
commitb685a7350ae76bc0f388e24b36d06a63776c68ee (patch)
tree237770a434c3029f5ba5157de2f8b35176e5649e /arch/c6x
parentcheckpatch: add Co-developed-by to signature tags (diff)
downloadlinux-b685a7350ae76bc0f388e24b36d06a63776c68ee.tar.xz
linux-b685a7350ae76bc0f388e24b36d06a63776c68ee.zip
mm/page_io.c: fix polled swap page in
swap_readpage() wants to do polling to bring in pages if asked to, but it doesn't mark the bio as being polled. Additionally, the looping around the blk_poll() check isn't correct - if we get a zero return, we should call io_schedule(), we can't just assume that the bio has completed. The regular bio->bi_private check should be used for that. Link: http://lkml.kernel.org/r/e15243a8-2cdf-c32c-ecee-f289377c8ef9@kernel.dk Signed-off-by: Jens Axboe <axboe@kernel.dk> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions