diff options
author | 2011-09-26 15:24:56 +0200 | |
---|---|---|
committer | 2012-05-09 15:15:47 +0200 | |
commit | 40424e4a24bc500639cb4bf1bf846362b0e692a5 (patch) | |
tree | 3747089f12567b97417121f01a7a0da19852da39 /lib/spinlock_debug.c | |
parent | drbd: Bugfix for the connection behavior (diff) | |
download | linux-dev-40424e4a24bc500639cb4bf1bf846362b0e692a5.tar.xz linux-dev-40424e4a24bc500639cb4bf1bf846362b0e692a5.zip |
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 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions