commit | b5b0ecb736f1ce1e68eb50613c0cfecff10198eb | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Mar 04 21:02:58 2021 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Mar 05 08:43:09 2021 -0700 |
tree | 2bbe77a9b47c89fa01c46e198e0bcafbfe1e00b1 | |
parent | ca0a26511c679a797f86589894a4523db36d833e [diff] |
io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return The callback can only be armed, if we get -EIOCBQUEUED returned. It's important that we clear the WAITQ bit for other cases, otherwise we can queue for async retry and filemap will assume that we're armed and return -EAGAIN instead of just blocking for the IO. Cc: stable@vger.kernel.org # 5.9+ Signed-off-by: Jens Axboe <axboe@kernel.dk>