diff options
author | Roman Penyaev <rpenyaev@suse.de> | 2019-03-25 22:09:24 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-03-25 22:13:21 +0300 |
commit | 9bf7933fc3f306bc4ce74ad734f690a71670178a (patch) | |
tree | 99a1c127e6ca7f99bee5b2595532f8c07b2ddb06 /fs/cachefiles | |
parent | e6d1fa584e0dd9bfebaf345e9feea588cf75ead2 (diff) | |
download | linux-9bf7933fc3f306bc4ce74ad734f690a71670178a.tar.xz |
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>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions