]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: don't try to poll multi-bio I/Os in __iomap_dio_rw
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:13 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commitc220a3405bb02fbd1e5ffb694b91393561f375a1
treeb41706904cbd77ce430abce38b1093feecc27aca
parent50959bd823bfbf82fc874d0bce7347c34ce87f60
iomap: don't try to poll multi-bio I/Os in __iomap_dio_rw

If an iocb is split into multiple bios we can't poll for both.  So don't
bother to even try to poll in that case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/iomap/direct-io.c