qemu-e2k/hw/scsi
Paolo Bonzini 3daa41078a scsi: revert change to scsi_req_cancel_async and add assertions
Fam Zheng noticed that the change in commit 36896bf ("scsi: always call
notifier on async cancellation", 2015-12-16) could cause a leak of
the request; scsi_req_cancel_async now calls scsi_req_ref
multiple times for multiple cancellations, but there is only
one call to scsi_req_cancel_complete.

So revert the patch and instead assert that the problematic case (a call
to scsi_req_cancel_async after the aiocb has been completed) cannot
happen.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-15 18:57:32 +01:00
..
esp-pci.c
esp.c
lsi53c895a.c
Makefile.objs
megasas.c
mfi.h
scsi-bus.c scsi: revert change to scsi_req_cancel_async and add assertions 2016-01-15 18:57:32 +01:00
scsi-disk.c
scsi-generic.c
spapr_vscsi.c
srp.h
vhost-scsi.c error: Use error_prepend() where it makes obvious sense 2016-01-13 15:16:17 +01:00
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