From: Lars Ellenberg Date: Mon, 26 Sep 2011 13:24:56 +0000 (+0200) Subject: drbd: fix "stalled" empty resync X-Git-Tag: v3.5-rc1~41^2^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40424e4a24bc500639cb4bf1bf846362b0e692a5;p=pandora-kernel.git 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 Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed