qemu-e2k/hw/scsi
Maxim Levitsky cfd4e36352 scsi: fix device removal race vs IO restart callback on resume
There is (mostly theoretical) race between removal of a scsi device and
scsi_dma_restart_bh.

It used to be easier to hit this race prior to my / Paulo's patch series
that added rcu to scsi bus device handling code, but IMHO this race
should still be possible to hit, at least in theory.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1854811

Fix it anyway with a patch that was proposed by Paulo in the above bugzilla.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20201210125929.1136390-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-15 12:52:04 -05:00
..
emulation.c
esp-pci.c
esp.c
Kconfig
lsi53c895a.c
megasas.c
meson.build
mfi.h
mpi.h
mptconfig.c
mptendian.c
mptsas.c
mptsas.h
scsi-bus.c
scsi-disk.c
scsi-generic.c
spapr_vscsi.c
srp.h
trace-events
trace.h
vhost-scsi-common.c
vhost-scsi.c
vhost-user-scsi.c
viosrp.h
virtio-scsi-dataplane.c
virtio-scsi.c
vmw_pvscsi.c
vmw_pvscsi.h