1
0
Fork 0
alistair23-linux/drivers/block/drbd
Lars Ellenberg ba280c092e drbd: fix resend/resubmit of frozen IO
DRBD can freeze IO, due to fencing policy (fencing resource-and-stonith),
or because we lost access to data (on-no-data-accessible suspend-io).

Resuming from there (re-connect, or re-attach, or explicit admin
intervention) should "just work".

Unfortunately, if the re-attach/re-connect did not happen within
the timeout, since the commit
  drbd: Implemented real timeout checking for request processing time
if so configured, the request_timer_fn() would timeout and
detach/disconnect virtually immediately.

This change tracks the most recent attach and connect, and does not
timeout within <configured timeout interval> after attach/connect.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-05-09 15:16:58 +02:00
..
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: remove tracing bits 2009-10-01 21:17:58 +02:00
drbd_actlog.c drbd: missing wakeup after drbd_rs_del_all 2012-05-09 15:16:42 +02:00
drbd_bitmap.c drbd: Consider the disk-timeout also for meta-data IO operations 2012-05-09 15:16:30 +02:00
drbd_int.h drbd: fix resend/resubmit of frozen IO 2012-05-09 15:16:58 +02:00
drbd_main.c drbd: fix resend/resubmit of frozen IO 2012-05-09 15:16:58 +02:00
drbd_nl.c drbd: Delay/reject other state changes while establishing a connection 2012-05-09 15:16:55 +02:00
drbd_proc.c drbd: cosmetic: fix accidental division instead of modulo when pretty printing 2012-05-09 10:01:39 +02:00
drbd_receiver.c drbd: Ensure that data_size is not 0 before using data_size-1 as index 2012-05-09 15:16:56 +02:00
drbd_req.c drbd: fix resend/resubmit of frozen IO 2012-05-09 15:16:58 +02:00
drbd_req.h drbd: Immediately allow completion of IOs, that wait for IO completions on a failed disk 2012-05-09 10:16:04 +02:00
drbd_strings.c drbd: Rename enum drbd_state_ret_codes to enum drbd_state_rv 2011-03-10 11:36:18 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: move put_ldev from __req_mod() to the endio callback 2012-05-09 15:16:51 +02:00
drbd_wrappers.h drbd: Get rid of unnecessary macros (2) 2011-03-10 11:36:15 +01:00