]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50959bd823bfbf82fc874d0bce7347c34ce87f60
tree0209e86476075327c7336d7521597501868b41c9
parentf0560300a2ff59081596950ffca2554f5375471e
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