summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorPeter Lieven <pl@kamp.de>2017-12-08 12:51:08 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-12-21 09:30:32 +0100
commite38bc23454ef763deb4405ebdee6a1081aa00bc8 (patch)
tree415ed460eeab4a597cf4a908215ac094bddc6f83 /scripts/qapi.py
parentaef172ffdc2f9c41d9cc043a55f1259e7c07e587 (diff)
downloadfocaccia-qemu-e38bc23454ef763deb4405ebdee6a1081aa00bc8.tar.gz
focaccia-qemu-e38bc23454ef763deb4405ebdee6a1081aa00bc8.zip
block/iscsi: only report an iSCSI Failure if we don't handle it gracefully
we currently report an "iSCSI Failure" in iscsi_co_generic_cb if the task
hasn't completed with SCSI_STATUS_GOOD. However, we expect a failure in
some cases and handle it gracefully. This is the case for misaligned UNMAPs
and WRITESAME10/16 calls without UNMAP. In this case a failure in the
logs can be quite misleading.

While we are at it improve the logging to reveal which operation failed
at what LBA.

Signed-off-by: Peter Lieven <pl@kamp.de>
Message-Id: <1512733868-9009-3-git-send-email-pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions