]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/block/drbd/drbd_int.h
drbd: Ignore the exit code of a fence-peer handler if it returns too late
[karo-tx-linux.git] / drivers / block / drbd / drbd_int.h
index f943aacfdad8a90aa07416d905fa2a0bb207b665..f104328d6325a72e00950c88d5e5176de3360ab2 100644 (file)
@@ -832,6 +832,7 @@ struct drbd_tconn {                 /* is a resource from the config file */
        unsigned susp_nod:1;            /* IO suspended because no data */
        unsigned susp_fen:1;            /* IO suspended because fence peer handler runs */
        struct mutex cstate_mutex;      /* Protects graceful disconnects */
+       unsigned int connect_cnt;       /* Inc each time a connection is established */
 
        unsigned long flags;
        struct net_conf *net_conf;      /* content protected by rcu */