commit | 9bf7933fc3f306bc4ce74ad734f690a71670178a | [log] [tgz] |
---|---|---|
author | Roman Penyaev <rpenyaev@suse.de> | Mon Mar 25 20:09:24 2019 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 25 13:13:21 2019 -0600 |
tree | 99a1c127e6ca7f99bee5b2595532f8c07b2ddb06 | |
parent | e6d1fa584e0dd9bfebaf345e9feea588cf75ead2 [diff] |
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: Roman Penyaev <rpenyaev@suse.de> Cc: Jens Axboe <axboe@kernel.dk> Cc: linux-block@vger.kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>