]> 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)
commit64bb68b263a51f378e500fdbf2cb3922abc80b16
treee1fb1bb2d47a2e2b1b471a1d6426b9a39b184190
parent1141716ea59bbabe950823afcc54f8b76d79d9aa
Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"

This reverts commit 9a18839e8004c71ad901e7ec5018dd999dffba65.

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