]> www.infradead.org Git - users/hch/block.git/commit
mm: use SWP_SYNCHRONOUS_IO more intelligently
authorChristoph Hellwig <hch@lst.de>
Sat, 20 Jun 2020 09:37:11 +0000 (11:37 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 17 Jul 2020 09:08:57 +0000 (11:08 +0200)
commit3a8d0a85dcc96454c667377f93df08e5484769a8
tree6e9e50c23e12d8ffb3d065a7a2bf2209b9762d13
parent81608c2085460f829478e9c2192daeb70c77c846
mm: use SWP_SYNCHRONOUS_IO more intelligently

There is no point in trying to call bdev_read_page if SWP_SYNCHRONOUS_IO
is not set, as the device won't support it.  Also there is no point in
trying a bio submission if bdev_read_page failed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
mm/page_io.c