[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] Revert "ide/ahci: Check for -ECAN
From: |
John Snow |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] Revert "ide/ahci: Check for -ECANCELED in aio callbacks" |
Date: |
Tue, 13 Aug 2019 18:48:36 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 7/29/19 6:36 PM, John Snow wrote:
> This reverts commit 0d910cfeaf2076b116b4517166d5deb0fea76394.
>
> It's not correct to just ignore an error code in a callback; we need to
> handle that error and possible report failure to the guest so that they
> don't wait indefinitely for an operation that will now never finish.
>
> This ought to help cases reported by Nutanix where iSCSI returns a
> legitimate -ECANCELED for certain operations which should be propagated
> normally.
>
> Reported-by: Shaju Abraham <address@hidden>
> Signed-off-by: John Snow <address@hidden>
Nobody's yelling, so this is getting staged on my IDE branch, alongside
Paolo's dma-helpers fix.
Thanks, applied to my IDE tree:
https://github.com/jnsnow/qemu/commits/ide
https://github.com/jnsnow/qemu.git
--js
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-stable] [Qemu-devel] [PATCH] Revert "ide/ahci: Check for -ECANCELED in aio callbacks",
John Snow <=