Whamcloud - gitweb
LU-7646 lnet: Stop Infinite CON RACE Condition
[fs/lustre-release.git] / lnet / klnds / o2iblnd / o2iblnd.h
index 5fd1ffe..7092c7f 100644 (file)
@@ -748,6 +748,8 @@ typedef struct kib_peer
        unsigned short          ibp_connecting;
        /* reconnect this peer later */
        unsigned short          ibp_reconnecting:1;
+       /* counter of how many times we triggered a conn race */
+       unsigned char           ibp_races;
        /* # consecutive reconnection attempts to this peer */
        unsigned int            ibp_reconnected;
        /* errno on closing this peer */