qemu-e2k/hw/scsi
Paolo Bonzini 36896bffd1 scsi: always call notifier on async cancellation
This was found by code inspection.  If the request is cancelled twice,
the notifier is never called on the second cancellation request,
and hence for example a TMF might never finish.

All the calls in scsi_req_cancel_async are idempotent, so the change
is safe.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1450290827-30508-2-git-send-email-pbonzini@redhat.com>
2015-12-17 17:33:49 +01:00
..
esp-pci.c
esp.c
lsi53c895a.c
Makefile.objs
megasas.c
mfi.h
scsi-bus.c scsi: always call notifier on async cancellation 2015-12-17 17:33:49 +01:00
scsi-disk.c scsi-disk: Account for failed operations 2015-11-12 16:22:47 +01:00
scsi-generic.c
spapr_vscsi.c
srp.h
vhost-scsi.c
viosrp.h
virtio-scsi-dataplane.c
virtio-scsi.c virtio-scsi: don't crash without a valid device 2015-11-26 16:47:44 +01:00
vmw_pvscsi.c vmw_pvscsi: Introduce 'x-disable-pcie' backword compatability property 2015-12-17 15:24:34 +01:00
vmw_pvscsi.h