diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-06-29 14:06:08 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-05-09 15:10:45 +0200 |
commit | dfa8bedbfe881caf6676704ab1aae18dfe8e430a (patch) | |
tree | 416102d8cd59c6be45b072c2ce123c6cb8f63f52 /include/linux/drbd_nl.h | |
parent | 02ee8f95fadf7c94b3d28df436a095152f6392b2 (diff) |
drbd: Implemented the disk-timeout option
When the disk-timeout is active, and it expires for a single request,
we consider the local disk as D_FAILED. Note: With this change,
I made both timeout based state transitions HARD state transitions.
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_nl.h')
-rw-r--r-- | include/linux/drbd_nl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/drbd_nl.h b/include/linux/drbd_nl.h index 7203c9ead23..a8706f08ab3 100644 --- a/include/linux/drbd_nl.h +++ b/include/linux/drbd_nl.h @@ -31,6 +31,7 @@ NL_PACKET(disk_conf, 3, NL_INTEGER( 56, T_MAY_IGNORE, max_bio_bvecs) NL_BIT( 57, T_MAY_IGNORE, no_disk_barrier) NL_BIT( 58, T_MAY_IGNORE, no_disk_drain) + NL_INTEGER( 89, T_MAY_IGNORE, disk_timeout) ) NL_PACKET(detach, 4, |