diff options
author | John Snow | 2019-07-30 00:36:05 +0200 |
---|---|---|
committer | John Snow | 2019-08-17 01:14:04 +0200 |
commit | 8ec41c4265714255d5a138f8b538faf3583dcff6 (patch) | |
tree | cd6dbb89387cfe91c99b4dfa4fdb52ff27ea7089 /crypto/cipher-gcrypt.c | |
parent | dma-helpers: ensure AIO callback is invoked after cancellation (diff) | |
download | qemu-8ec41c4265714255d5a138f8b538faf3583dcff6.tar.gz qemu-8ec41c4265714255d5a138f8b538faf3583dcff6.tar.xz qemu-8ec41c4265714255d5a138f8b538faf3583dcff6.zip |
Revert "ide/ahci: Check for -ECANCELED in aio callbacks"
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 <shaju.abraham@nutanix.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 20190729223605.7163-1-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'crypto/cipher-gcrypt.c')
0 files changed, 0 insertions, 0 deletions