]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drbd: default to detach on-io-error
authorLars Ellenberg <lars.ellenberg@linbit.com>
Wed, 23 Feb 2011 11:51:43 +0000 (12:51 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 14 Oct 2011 14:48:03 +0000 (16:48 +0200)
Old default behaviour was "pass-on",
which is not useful in production at all.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
include/linux/drbd_limits.h

index 75f05af3372531f9c734bcc4f8c962179d901f2d..22920a8af4e23bf7e3e753e8d94405d817ec8232 100644 (file)
 #define DRBD_DISK_SIZE_SECT_MAX  (1 * (2LLU << 40))
 #define DRBD_DISK_SIZE_SECT_DEF  0 /* = disabled = no user size... */
 
-#define DRBD_ON_IO_ERROR_DEF EP_PASS_ON
+#define DRBD_ON_IO_ERROR_DEF EP_DETACH
 #define DRBD_FENCING_DEF FP_DONT_CARE
 #define DRBD_AFTER_SB_0P_DEF ASB_DISCONNECT
 #define DRBD_AFTER_SB_1P_DEF ASB_DISCONNECT