summaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-05-04 11:12:00 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2010-05-18 01:25:00 +0200
commit67c7ddd055c794f0d8e9466ca2d6b5cc0b73d4df (patch)
treec68ceb828b3677a7d68eb7065790e8d957d973c1 /include/linux/drbd_limits.h
parent7237bc430f49de1145d761c4b39f2ebae58842d5 (diff)
downloadtalos-op-linux-67c7ddd055c794f0d8e9466ca2d6b5cc0b73d4df.tar.gz
talos-op-linux-67c7ddd055c794f0d8e9466ca2d6b5cc0b73d4df.zip
drbd: Four new configuration settings for resync speed control
To reasonably control resync speed over drbd-proxy connections, drbd has to measure the current delay of packets transmitted over the (possibly congested) data socket vs the meta-data socket. 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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index 51f47a586ad8..440b42e38e89 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -133,5 +133,21 @@
#define DRBD_MAX_BIO_BVECS_MAX 128
#define DRBD_MAX_BIO_BVECS_DEF 0
+#define DRBD_DP_VOLUME_MIN 4
+#define DRBD_DP_VOLUME_MAX 1048576
+#define DRBD_DP_VOLUME_DEF 16384
+
+#define DRBD_DP_INTERVAL_MIN 1
+#define DRBD_DP_INTERVAL_MAX 600
+#define DRBD_DP_INTERVAL_DEF 5
+
+#define DRBD_RS_THROTTLE_TH_MIN 1
+#define DRBD_RS_THROTTLE_TH_MAX 600
+#define DRBD_RS_THROTTLE_TH_DEF 20
+
+#define DRBD_RS_HOLD_OFF_TH_MIN 1
+#define DRBD_RS_HOLD_OFF_TH_MAX 6000
+#define DRBD_RS_HOLD_OFF_TH_DEF 100
+
#undef RANGE
#endif
OpenPOWER on IntegriCloud