c1579c9bbe
Failing the hotremove request will become more tricky once we allow creating multiple sessions per device, so we try to get rid of any unnecessary error checks. VIRTIO_SCSI_F_HOTPLUG tells us just if the host is capable of receiving hotplug events, but the scsi target can be hotremoved even without them. The hotremoval will be still reported through SCSI sense codes. All I/O to a hotremoved target will be failed with sense key ILLEGAL REQUEST, asc 0x25, ascq 0x00 (LOGICAL UNIT NOT SUPPORTED). Change-Id: I2be4e0167eb06804112758a5825cd91745128408 Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/439316 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |