]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: don't fail links for EAGAIN error in IOPOLL mode
authorXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Mon, 15 Jun 2020 18:06:37 +0000 (02:06 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:49:19 +0000 (17:49 +0200)
commit3431c40a3e8df7659635601df10631f44b792f41
tree9f56c9a5b19b7239fa1cfadbe6cd3336ee042715
parent25e85a0a49305fdf1775c01743baf8ace798e981
io_uring: don't fail links for EAGAIN error in IOPOLL mode

[ Upstream commit 2d7d67920e5c8e0854df23ca77da2dd5880ce5dd ]

In IOPOLL mode, for EAGAIN error, we'll try to submit io request
again using io-wq, so don't fail rest of links if this io request
has links.

Cc: stable@vger.kernel.org
Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/io_uring.c