diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-05 11:19:39 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2010-10-14 18:38:42 +0200 |
commit | 00b425377d60e67e86721d4ce6d7cbf131a5d0fd (patch) | |
tree | 7e815cbdc90ebd1c801157f707e1e278a739ed68 /include/linux/drbd_limits.h | |
parent | f65363cfa05fe60874030461a0eeb84b7e60cba4 (diff) | |
download | linux-stable-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.tar.gz linux-stable-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.tar.bz2 linux-stable-00b425377d60e67e86721d4ce6d7cbf131a5d0fd.zip |
drbd: Allow larger values for c-fill-target.
Connections through a compressing proxy might have more bits
on the fly. 500MByte instead of 50MByte
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 0b24ded6fffd..4ac33f34b77e 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h @@ -143,7 +143,7 @@ #define DRBD_C_DELAY_TARGET_DEF 10 #define DRBD_C_FILL_TARGET_MIN 0 -#define DRBD_C_FILL_TARGET_MAX 100000 +#define DRBD_C_FILL_TARGET_MAX (1<<20) /* 500MByte in sec */ #define DRBD_C_FILL_TARGET_DEF 0 /* By default disabled -> controlled by delay_target */ #define DRBD_C_MAX_RATE_MIN 250 /* kByte/sec */ |