Skip to content
Commit 9bf7933f authored by Roman Penyaev's avatar Roman Penyaev Committed by Jens Axboe
Browse files

io_uring: offload write to async worker in case of -EAGAIN



In case of direct write -EAGAIN will be returned if page cache was
previously populated.  To avoid immediate completion of a request
with -EAGAIN error write has to be offloaded to the async worker,
like io_read() does.

Signed-off-by: default avatarRoman Penyaev <rpenyaev@suse.de>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent e6d1fa58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment