From f09b9c2ed190a01ce683e71c657e36c2086931a5 Mon Sep 17 00:00:00 2001 From: Ziye Yang Date: Thu, 8 Mar 2018 12:05:46 +0800 Subject: [PATCH] lib/iscsi: Set last_nopin when the connection transfers in ffp Change-Id: Ib2d38a8c744d2d4951f3503cb029ea6b26bb9eaa Signed-off-by: Ziye Yang Reviewed-on: https://review.gerrithub.io/403119 Reviewed-by: Jim Harris Tested-by: SPDK Automated Test System Reviewed-by: Daniel Verkamp Reviewed-by: Shuhei Matsumoto --- lib/iscsi/conn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/iscsi/conn.c b/lib/iscsi/conn.c index 1144734ce..a90eced82 100644 --- a/lib/iscsi/conn.c +++ b/lib/iscsi/conn.c @@ -1214,6 +1214,7 @@ spdk_iscsi_conn_migration(struct spdk_iscsi_conn *conn) spdk_iscsi_conn_stop(conn); __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, conn, NULL); spdk_event_call(event);