aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2019-01-03 15:29:15 -0800
committerLinus Torvalds <[email protected]>2019-01-04 13:13:48 -0800
commitb685a7350ae76bc0f388e24b36d06a63776c68ee (patch)
tree237770a434c3029f5ba5157de2f8b35176e5649e /tools/perf/scripts/python/export-to-postgresql.py
parentd499480cc435ff153bf7e2e7ee6ab6ac44306c28 (diff)
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/[email protected] Signed-off-by: Jens Axboe <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Cc: Christoph Hellwig <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions