summaryrefslogtreecommitdiff
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2011-05-06 19:50:57 +0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 19:55:49 +0400
commit7bac3e6f7e74993475a94487effe05dc1f68bdc7 (patch)
tree9115764fe15680045051ca3ee16bcfe7b297404a /include/linux/drbd_limits.h
parent6f9b5f84f5fb46def198b943e59c79aea0695c5c (diff)
downloadlinux-7bac3e6f7e74993475a94487effe05dc1f68bdc7.tar.xz
drbd: Also define the default values of boolean flags in a single place
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index bcebb016fda3..3d3e2d5125cb 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -170,4 +170,14 @@
#define DRBD_PROTOCOL_DEF DRBD_PROT_C
+#define DRBD_DISK_BARRIER_DEF 0
+#define DRBD_DISK_FLUSHES_DEF 1
+#define DRBD_DISK_DRAIN_DEF 1
+#define DRBD_MD_FLUSHES_DEF 1
+#define DRBD_TCP_CORK_DEF 1
+
+#define DRBD_ALLOW_TWO_PRIMARIES_DEF 0
+#define DRBD_ALWAYS_ASBP_DEF 0
+#define DRBD_USE_RLE_DEF 0
+
#endif