]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
authorJens Axboe <axboe@kernel.dk>
Thu, 28 May 2020 19:19:29 +0000 (13:19 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 28 May 2020 19:20:39 +0000 (13:20 -0600)
commit0b66882ec21a2e63c84a67fbc06f80fa8d3731c0
treee1fb1bb2d47a2e2b1b471a1d6426b9a39b184190
parent0890a4f1837a1dfbd0a3c519273f1db7810bd087
Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"

This reverts commit 9eacc580e851dcd4473fec3b7646cdadca4e6088.

io_uring does do the right thing for this case, and we're still returning
-EAGAIN to userspace for the cases we don't support. Revert this change
to avoid doing endless spins of resubmits.

Cc: stable@vger.kernel.org # v5.6
Reported-by: Bijan Mottahedeh <bijan.mottahedeh@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c