From 197296ffed71b7d5056d8618a07fec145b040303 Mon Sep 17 00:00:00 2001 From: Philipp Reisner Date: Mon, 26 Mar 2012 16:47:11 +0200 Subject: [PATCH] drbd: Delay/reject other state changes while establishing a connection Changes to the role and disk state should be delayed or rejected while we establish a connection. This is necessary, since the peer will base its resync decision on the UUIDs and the state we sent in the drbd_connect() function. The most prominent example for this race is becoming primary after sending state and UUIDs and before the state changes to C_WF_CONNECTION. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-format-patch failed