+40
−15
Loading
delete_target_node RPC had not waited for completion of spdk_iscsi_shutdown_tgt_node_by_name. This implementation is not the direct cause of the deadlock issue in spdk_iscsi_conn_stop() but changing delete_target_node RPC to wait for completion of spdk_iscsi_shutdown_tgt_node_by_name will prevent future errors. spdk_iscsi_shutdown_tgt_node_by_name() is not asynchronized yet and so rpc_delete_target_node calls rpc_delete_target_node_done directly in this patch. The next patch will replace the call. Change-Id: I6a042028b93c36ca9f68e3b212141e101b33d394 Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450604 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>