io_uring: don't sleep when polling for I/O
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:20 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:36 +0000 (06:17 -0600)
commitd729cf9acb9311956c8a37113dcfa0160a2d9665
treedb98a1f9ce4a4ddf9e454bc8660a87dacb616061
parentef99b2d37666b7a600baab9e1c4944436652b0a2
io_uring: don't sleep when polling for I/O

There is no point in sleeping for the expected I/O completion timeout
in the io_uring async polling model as we never poll for a specific
I/O.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Mark Wunderlich <mark.wunderlich@intel.com>
Link: https://lore.kernel.org/r/20211012111226.760968-11-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
fs/io_uring.c
include/linux/blkdev.h