aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_state.c
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-09-29 13:00:14 +0200
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:58:04 +0100
commit9bcd2521827bb7c418a83a77474c449d6496d55c (patch)
treeaae5995f4d1d6b72d0a7ccd30d31fab01be29a45 /drivers/block/drbd/drbd_state.c
parent22d81140aea85f9ac388fa12768dc502ef00eaae (diff)
downloadvexpress-lsk-9bcd2521827bb7c418a83a77474c449d6496d55c.tar.gz
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>
Diffstat (limited to 'drivers/block/drbd/drbd_state.c')
0 files changed, 0 insertions, 0 deletions