+11
−3
Loading
Opening LUNs is a fatal error. However, the error had been ignored. Fix the bug in this patch. Change the return type of iscsi_conn_open_luns() from void to int, and change iscsi_conn_open_luns() to return 0 if success or -1 otherwise. iscsi_conn_full_feature_migrate() sets the state of the connection to EXITING if opening LUNs failed. Then, the first poll in the assigned poll group destructs the connection. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I8d64786287f5e1ad9120651439dd21282278cb2d Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19382 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Vasuki Manikarnike <vasuki.manikarnike@hpe.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>