linux/drivers/block/drbd
Philipp Reisner 9bcd252182 drbd: fix "stalled" empty resync
With sync-after dependencies, given "lucky" timing of pause/unpause
events, and the end of an empty (0 bits set) resync was sometimes not
detected on the SyncTarget, leading to a "stalled" SyncSource state.

Fixed this by expecting not only "Inconsistent -> UpToDate" but also
"Consistent -> UpToDate" transitions for the peer disk state
to end a resync.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
2012-11-08 16:58:04 +01:00
..
Kconfig drbd: Kconfig fix 2009-12-29 17:38:28 +01:00
Makefile drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_actlog.c drbd: Improve error reporting in drbd_md_sync_page_io() 2012-11-08 16:58:03 +01:00
drbd_bitmap.c drbd: fix bitmap writeout after aborted resync 2012-11-08 16:58:04 +01:00
drbd_int.h drbd: Consider the discard-my-data flag for all volumes [bugz 359] 2012-11-08 16:58:04 +01:00
drbd_interval.c drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_interval.h drbd: Iterate over all overlapping intervals in a tree 2011-10-14 16:47:37 +02:00
drbd_main.c drbd: detach must not try to abort non-local requests 2012-11-08 16:58:00 +01:00
drbd_nl.c drbd: fix "stalled" empty resync 2012-11-08 16:58:04 +01:00
drbd_nla.c drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_nla.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00
drbd_proc.c drbd: cosmetic: fix accidental division instead of modulo when pretty printing 2012-11-08 16:57:43 +01:00
drbd_receiver.c drbd: fix "stalled" empty resync 2012-11-08 16:58:04 +01:00
drbd_req.c drbd: Update some outdated comments to match the code 2012-11-08 16:58:02 +01:00
drbd_req.h drbd: Get rid of MR_{READ,WRITE}_SHIFT 2012-11-08 16:58:00 +01:00
drbd_state.c drbd: Do not display bogus log lines for pdsk in case pdsk < D_UNKNOWN 2012-11-08 16:58:00 +01:00
drbd_state.h drbd: Improved logging of state changes 2012-11-08 16:45:06 +01:00
drbd_strings.c drbd: Allow volumes to become primary only on one side 2012-11-04 00:16:31 +01:00
drbd_vli.h Fix common misspellings 2011-03-31 11:26:23 -03:00
drbd_worker.c drbd: Update some outdated comments to match the code 2012-11-08 16:58:02 +01:00
drbd_wrappers.h drbd: Split off netlink mandatory attribute handling into separate file 2012-11-08 16:57:45 +01:00