Previously iSCSI LUN hotplug had critical bugs and we had no choice but accept submitting new tasks as late as possible. We fixed the bug now and we can stop submitting new task immediately after starting LUN removal process. By this change, no task is submitted to the LUN and previously queued tasks have no chance to be kicked. Hence we execute them instead after stopping new task submission. This change simplifies LUN hotplug process and reproduce LUN hotplug issues solidly if we don't have the fix. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I9a33e6a217978b0863d15aaff3d35880dbdccfd4 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/473596 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
dev.c | ||
lun.c | ||
Makefile | ||
port.c | ||
scsi_bdev.c | ||
scsi_internal.h | ||
scsi_pr.c | ||
scsi_rpc.c | ||
scsi.c | ||
task.c |