commit | 617049aa7d753e8c821ac77126ab90e9f1b66d6d | [log] [tgz] |
---|---|---|
author | Philipp Reisner <philipp.reisner@linbit.com> | Wed Dec 22 12:48:31 2010 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Mar 10 11:45:23 2011 +0100 |
tree | 1cabbc19e2efa054bf585d92f42c0bf7bf0c01b5 | |
parent | 071942727824bab03b1a3f6b6eeb5b269697b333 [diff] |
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 <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>