lib/iscsi: Set last_nopin when the connection transfers in ffp

Change-Id: Ib2d38a8c744d2d4951f3503cb029ea6b26bb9eaa
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
Reviewed-on: https://review.gerrithub.io/403119
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Ziye Yang 2018-03-08 12:05:46 +08:00 committed by Jim Harris
parent 2fb1264121
commit f09b9c2ed1

View File

@ -1214,6 +1214,7 @@ spdk_iscsi_conn_migration(struct spdk_iscsi_conn *conn)
spdk_iscsi_conn_stop(conn); spdk_iscsi_conn_stop(conn);
__sync_fetch_and_add(&g_num_connections[lcore], 1); __sync_fetch_and_add(&g_num_connections[lcore], 1);
conn->last_nopin = spdk_get_ticks();
event = spdk_event_allocate(lcore, spdk_iscsi_conn_full_feature_migrate, event = spdk_event_allocate(lcore, spdk_iscsi_conn_full_feature_migrate,
conn, NULL); conn, NULL);
spdk_event_call(event); spdk_event_call(event);