qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] block/io_uring: resubmit when result is -EAGAIN


From: Stefano Garzarella
Subject: Re: [PATCH v2] block/io_uring: resubmit when result is -EAGAIN
Date: Thu, 29 Jul 2021 11:54:02 +0200

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).

Yep, it's fine :-)

Thanks,
Stefano




reply via email to

[Prev in Thread] Current Thread [Next in Thread]