diff --git a/lib/iscsi/conn.c b/lib/iscsi/conn.c index e3ea6ef0b..a94fa5860 100644 --- a/lib/iscsi/conn.c +++ b/lib/iscsi/conn.c @@ -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; diff --git a/lib/iscsi/conn.h b/lib/iscsi/conn.h index ce1011dab..8cde19c46 100644 --- a/lib/iscsi/conn.h +++ b/lib/iscsi/conn.h @@ -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); diff --git a/lib/iscsi/iscsi.c b/lib/iscsi/iscsi.c index 7c6dc8ad6..5b637f406 100644 --- a/lib/iscsi/iscsi.c +++ b/lib/iscsi/iscsi.c @@ -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: diff --git a/test/unit/lib/iscsi/iscsi.c/iscsi_ut.c b/test/unit/lib/iscsi/iscsi.c/iscsi_ut.c index 2277d3a11..aea6a9b62 100644 --- a/test/unit/lib/iscsi/iscsi.c/iscsi_ut.c +++ b/test/unit/lib/iscsi/iscsi.c/iscsi_ut.c @@ -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));