Skip to content
Commit df604d2a authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/rw: ensure retry condition isn't lost



A previous commit removed the checking on whether or not it was possible
to retry a request, since it's now possible to retry any of them. This
would previously have caused the request to have been ended with an error,
but now the retry condition can simply get lost instead.

Cleanup the retry handling and always just punt it to task_work, which
will queue it with io-wq appropriately.

Reported-by: default avatarChanghui Zhong <czhong@redhat.com>
Tested-by: default avatarMing Lei <ming.lei@redhat.com>
Fixes: cca65713 ("io_uring/rw: cleanup retry path")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 24c3fc5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment