Christoph Hellwig 5115db10a8 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.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-09-24 13:43:39 -06:00
..
2020-08-09 14:10:26 -07:00
2020-08-12 10:57:57 -07:00
2020-08-12 10:57:57 -07:00
2020-08-07 11:33:26 -07:00
2020-08-12 10:57:58 -07:00
2020-06-08 11:05:55 -07:00
2020-08-07 11:33:28 -07:00
2020-08-12 10:57:58 -07:00
2020-09-24 13:43:39 -06:00
2020-06-04 19:06:24 -07:00
2020-08-12 10:57:58 -07:00