Commit 8df1f6b2 authored by Ben Walker's avatar Ben Walker Committed by Darek Stojaczyk
Browse files

iscsi: Rename spdk_iscsi_conn_migrate to spdk_iscsi_conn_schedule



This function is in charge of scheduling new connections
onto cores. It used to be used to dynamically migrate
connections, but we no longer do that.

Change-Id: I2fa04a7dfb43bf9fae7902376ba5ba6d18744469
Signed-off-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452727


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarDarek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarPaul Luse <paul.e.luse@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent 31dd1869
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1470,7 +1470,7 @@ iscsi_conn_full_feature_migrate(void *arg1, void *arg2)
}

void
spdk_iscsi_conn_migration(struct spdk_iscsi_conn *conn)
spdk_iscsi_conn_schedule(struct spdk_iscsi_conn *conn)
{
	int				lcore;
	struct spdk_event		*event;
+1 −1
Original line number Diff line number Diff line
@@ -178,7 +178,7 @@ int spdk_iscsi_get_active_conns(struct spdk_iscsi_tgt_node *target);
int spdk_iscsi_conn_construct(struct spdk_iscsi_portal *portal, struct spdk_sock *sock);
void spdk_iscsi_conn_destruct(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_handle_nop(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_migration(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_schedule(struct spdk_iscsi_conn *conn);
void spdk_iscsi_conn_logout(struct spdk_iscsi_conn *conn);
int spdk_iscsi_drop_conns(struct spdk_iscsi_conn *conn,
			  const char *conn_match, int drop_all);
+1 −1
Original line number Diff line number Diff line
@@ -2134,7 +2134,7 @@ iscsi_op_login_rsp_handle_t_bit(struct spdk_iscsi_conn *conn,
		}

		conn->full_feature = 1;
		spdk_iscsi_conn_migration(conn);
		spdk_iscsi_conn_schedule(conn);
		break;

	default:
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ DEFINE_STUB(spdk_iscsi_tgt_node_is_destructed, bool,

DEFINE_STUB_V(spdk_iscsi_portal_grp_close_all, (void));

DEFINE_STUB_V(spdk_iscsi_conn_migration, (struct spdk_iscsi_conn *conn));
DEFINE_STUB_V(spdk_iscsi_conn_schedule, (struct spdk_iscsi_conn *conn));

DEFINE_STUB_V(spdk_iscsi_conn_free_pdu,
	      (struct spdk_iscsi_conn *conn, struct spdk_iscsi_pdu *pdu));