summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-24 08:51:37 +0200
committerJens Axboe <axboe@kernel.dk>2020-09-24 21:43:39 +0200
commit5115db10a8e0a525edf8a65b2ed4eac5c8253095 (patch)
tree664bad791aaeda55fbd96229a0977943dc36fb5a /drivers
parentbdi: remove BDI_CAP_SYNCHRONOUS_IO (diff)
downloadlinux-5115db10a8e0a525edf8a65b2ed4eac5c8253095.tar.xz
linux-5115db10a8e0a525edf8a65b2ed4eac5c8253095.zip
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 'drivers')
0 files changed, 0 insertions, 0 deletions