f8dcdfa99e
In principle, we should not have active tasks, which means that lun->tasks should be empty. But for the exceptional case, we may still need to handle those active tasks, to make the scsi related application continue running instead of quit. We should not directly call spdk_scsi_lun_complete_task since those tasks are already sent to bdev layer. And finally, those tasks will be return (even aborted) by call backs. So we only need to set task status to condition, but not call spdk_scsi_lun_complete_task directly. Change-Id: I6af2bda0f0b1de7b0c655d2ac2980ddca48c1162 Signed-off-by: Ziye Yang <optimistyzy@gmail.com> Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/386817 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
lib | ||
Makefile |