diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-24 09:51:37 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-24 22:43:39 +0300 |
commit | 5115db10a8e0a525edf8a65b2ed4eac5c8253095 (patch) | |
tree | 664bad791aaeda55fbd96229a0977943dc36fb5a /block/blk-sysfs.c | |
parent | a8b456d01cd6b37191f14248f3e2bdbe5ce3a89e (diff) | |
download | linux-5115db10a8e0a525edf8a65b2ed4eac5c8253095.tar.xz |
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>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions