From: Philipp Reisner Date: Wed, 22 Dec 2010 11:48:31 +0000 (+0100) Subject: drbd: Fixed an issue with AHEAD -> SYNC_SOURCE transitions X-Git-Tag: v2.6.39-rc1~37^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=617049aa7d753e8c821ac77126ab90e9f1b66d6d;p=pandora-kernel.git drbd: Fixed an issue with AHEAD -> SYNC_SOURCE transitions Create a new barrier when leaving the AHEAD mode. Otherwise we trigger the assertion in req_mod(, barrier_acked) D_ASSERT(req->rq_state & RQ_NET_SENT); The new barrier is created by recycling the newest existing one. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed