+22
−10
Loading
When closing iSCSI connection, if we check pending tasks, we must check tasks only from the corresponding initiator. We have to add new API to do that. On the other hand, during IO submission or LUN hotplug, we must check all tasks. The latter case is done only in SCSI LUN, and the function is not necessary to be public. As a preparation, change scsi_lun_has_pending_tasks/_mgmt_tasks from public to private. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I2d7d77109ed317435b6768fffb0bf4e21dd60f9f Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/471335 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> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>