[DRBD-cvs] scripts by phil; * Replaced the "do_panic" option with on...

drbd-user@lists.linbit.com drbd-user@lists.linbit.com
Wed, 11 Feb 2004 14:25:25 +0100 (CET)


DRBD CVS committal

Author  : phil
Project : drbd
Module  : scripts

Dir     : drbd/scripts


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


Log Message:
* Replaced the "do_panic" option with
  on-io-error = { PassOn | Panic | Detach }

[ Untested; Unfinished. Need to rework the make_request funtion a bit,
  and kick out the remapping of requests to finish this. ]

===================================================================
RCS file: /var/lib/cvs/drbd/drbd/scripts/drbd.conf,v
retrieving revision 1.5.2.9
retrieving revision 1.5.2.10
diff -u -3 -r1.5.2.9 -r1.5.2.10
--- drbd.conf	4 Dec 2003 12:30:08 -0000	1.5.2.9
+++ drbd.conf	11 Feb 2004 13:25:20 -0000	1.5.2.10
@@ -83,7 +83,7 @@
     # (standby node takes over)
     # comment this out, if you want to survive this, e.g. you do testing
     # only, or you have other means to cope with that.
-    do-panic
+    on-io-error = detach
 
     # the device size in bytes, default unit is k (1 block == 1024 bytes)
     # should be the minimum of the sizes of the lower level devices of
@@ -167,7 +167,7 @@
   }
 
   disk {
-    do-panic
+    on-io-error = detach
     # size=1G
   }
 
@@ -209,7 +209,7 @@
   }
 
   disk {
-    do-panic
+    on-io-error = detach
     # size=1G
   }