block: don't try to poll multi-bio I/Os in __blkdev_direct_IO
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:12 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commit71fc3f5e2c00c966e6a2ffebadfbcc6914249d32
tree0209e86476075327c7336d7521597501868b41c9
parent94c2ed58d0d856a35c04365bdb39fee6e77547de
block: don't try to poll multi-bio I/Os in __blkdev_direct_IO

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

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012111226.760968-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/fops.c