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: Ben Walker <benjamin.walker@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452727
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Ben Walker 2019-04-29 16:21:52 -07:00 committed by Darek Stojaczyk
parent 31dd18697a
commit 8df1f6b220
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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:

View File

@ -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));