diff options
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r-- | include/linux/drbd_limits.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h index 447c36752385..fb670bf603f7 100644 --- a/include/linux/drbd_limits.h +++ b/include/linux/drbd_limits.h | |||
@@ -48,6 +48,11 @@ | |||
48 | #define DRBD_TIMEOUT_MAX 600 | 48 | #define DRBD_TIMEOUT_MAX 600 |
49 | #define DRBD_TIMEOUT_DEF 60 /* 6 seconds */ | 49 | #define DRBD_TIMEOUT_DEF 60 /* 6 seconds */ |
50 | 50 | ||
51 | /* If backing disk takes longer than disk_timeout, mark the disk as failed */ | ||
52 | #define DRBD_DISK_TIMEOUT_MIN 0 /* 0 = disabled */ | ||
53 | #define DRBD_DISK_TIMEOUT_MAX 6000 /* 10 Minutes */ | ||
54 | #define DRBD_DISK_TIMEOUT_DEF 0 /* disabled */ | ||
55 | |||
51 | /* active connection retries when C_WF_CONNECTION */ | 56 | /* active connection retries when C_WF_CONNECTION */ |
52 | #define DRBD_CONNECT_INT_MIN 1 | 57 | #define DRBD_CONNECT_INT_MIN 1 |
53 | #define DRBD_CONNECT_INT_MAX 120 | 58 | #define DRBD_CONNECT_INT_MAX 120 |
@@ -60,7 +65,7 @@ | |||
60 | 65 | ||
61 | /* timeout for the ping packets.*/ | 66 | /* timeout for the ping packets.*/ |
62 | #define DRBD_PING_TIMEO_MIN 1 | 67 | #define DRBD_PING_TIMEO_MIN 1 |
63 | #define DRBD_PING_TIMEO_MAX 100 | 68 | #define DRBD_PING_TIMEO_MAX 300 |
64 | #define DRBD_PING_TIMEO_DEF 5 | 69 | #define DRBD_PING_TIMEO_DEF 5 |
65 | 70 | ||
66 | /* max number of write requests between write barriers */ | 71 | /* max number of write requests between write barriers */ |