From: Philipp Reisner Date: Thu, 29 Sep 2011 11:00:14 +0000 (+0200) Subject: drbd: fix "stalled" empty resync X-Git-Tag: v3.8-rc1~78^2~18^2~141 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bcd2521827bb7c418a83a77474c449d6496d55c;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