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)
committerJens Axboe <axboe@kernel.dk>
Wed, 17 Jun 2020 18:49:01 +0000 (12:49 -0600)
commit2d7d67920e5c8e0854df23ca77da2dd5880ce5dd
tree9d004dc863800d27fe6f6e9870cc28bb1dfed43a
parent801dd57bd1d8c2c253f43635a3045bfa32a810b3
io_uring: don't fail links for EAGAIN error in IOPOLL mode

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>
fs/io_uring.c