Philipp Reisner 7caacb69ac drbd: Consider the disk-timeout also for meta-data IO operations
If the backing device is already frozen during attach, we failed
to recognize that. The current disk-timeout code works on top
of the drbd_request objects. During attach we do not allow IO
and therefore never generate a drbd_request object but block
before that in drbd_make_request().

This patch adds the timeout to all drbd_md_sync_page_io().

Before this patch we used to go from D_ATTACHING directly
to D_DISKLESS if IO failed during attach. We can no longer
do this since we have to stay in D_FAILED until all IO
ops issued to the backing device returned.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-05-09 15:16:30 +02:00
..
2012-01-03 22:54:07 -05:00
2012-01-14 15:07:24 -08:00
2011-08-08 11:40:15 +02:00
2012-03-28 18:30:03 +01:00
2012-03-22 10:47:50 -05:00
2011-12-12 12:42:12 +01:00
2009-03-26 21:15:27 +01:00
2011-12-10 19:52:46 +01:00
2012-04-16 18:34:12 -07:00
2012-03-28 18:30:03 +01:00
2008-10-21 07:48:11 -04:00
2012-01-05 08:34:29 +01:00