drbd: Implemented the disk-timeout option
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 29 Jun 2011 12:06:08 +0000 (14:06 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 13:10:45 +0000 (15:10 +0200)
commitdfa8bedbfe881caf6676704ab1aae18dfe8e430a
tree416102d8cd59c6be45b072c2ce123c6cb8f63f52
parent02ee8f95fadf7c94b3d28df436a095152f6392b2
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>
drivers/block/drbd/drbd_main.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_req.c
include/linux/drbd_limits.h
include/linux/drbd_nl.h