[DRBD-cvs] scripts by phil; Added the user space side of ko-count. (...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 9 Jun 2004 22:06:41 +0200 (CEST)


DRBD CVS committal

Author  : phil
Project : drbd
Module  : scripts

Dir     : drbd/scripts


Modified Files:
      Tag: rel-0_7-branch
	drbd.conf 


Log Message:
Added the user space side of ko-count. (as in drbd-0.6.x)
Added the user space side of on-disconnect. Kernel part not yet done.
[I am still not sure about the freeze_io thing, maybe I will remove...]

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd.conf,v
retrieving revision 1.5.2.14
retrieving revision 1.5.2.15
diff -u -3 -r1.5.2.14 -r1.5.2.15
--- drbd.conf	17 May 2004 15:01:54 -0000	1.5.2.14
+++ drbd.conf	9 Jun 2004 20:06:36 -0000	1.5.2.15
@@ -163,6 +163,18 @@
     # The highest number of data blocks between two write barriers. 
     # If you set this < 10 you might decrease your performance.
     # max-epoch-size  2048;
+
+    # if some block send times out this many times, the peer is 
+    # considered dead, even if it still answeres ping requests.
+    # ko-count 4;
+
+    # if the connection to the peer is lost you have the choice of
+    #  "reconenct"   -> Try to reconnect (AKA WFConnection state)
+    #  "stand_alone" -> Do not reconnect (AKA StandAlone state)
+    #  "freeze_io"   -> Try to reconnect but freeze all IO until
+    #                   the connection is established again.
+    # on-disconenct reconnect;
+
   }
 
   syncer {