summaryrefslogtreecommitdiff
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2011-02-23 14:51:43 +0300
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-10-14 18:48:03 +0400
commita5df0e199cf6b31400fa86f6c3f73fa6e127e9ed (patch)
tree46ac5a448fd7a9ee7f9ef4522774282469f84752 /include/linux/drbd_limits.h
parent2c4a48d097e511e325b63c9caca3a9b94fe03be4 (diff)
downloadlinux-a5df0e199cf6b31400fa86f6c3f73fa6e127e9ed.tar.xz
drbd: default to detach on-io-error
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>
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r--include/linux/drbd_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index 75f05af33725..22920a8af4e2 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -125,7 +125,7 @@
#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