[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] block/io_uring: resubmit when result is -EAGAIN
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH v2] block/io_uring: resubmit when result is -EAGAIN |
Date: |
Thu, 29 Jul 2021 17:15:53 +0100 |
On Thu, Jul 29, 2021 at 11:10:29AM +0200, Fabian Ebner wrote:
> Linux SCSI can throw spurious -EAGAIN in some corner cases in its
> completion path, which will end up being the result in the completed
> io_uring request.
>
> Resubmitting such requests should allow block jobs to complete, even
> if such spurious errors are encountered.
>
> Co-authored-by: Stefan Hajnoczi <stefanha@gmail.com>
> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
> Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
> ---
>
> Changes from v1:
> * Focus on what's relevant for the patch itself in the commit
> message.
> * Add Stefan's comment.
> * Add Stefano's R-b tag (I hope that's fine, since there was no
> change code-wise).
>
> block/io_uring.c | 16 +++++++++++++++-
> 1 file changed, 15 insertions(+), 1 deletion(-)
Thanks, applied to my block tree:
https://gitlab.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature