From: Philipp Reisner Date: Fri, 6 Apr 2012 10:07:34 +0000 (+0200) Subject: drbd: Delay/reject other state changes while establishing a connection X-Git-Tag: v3.8-rc1~78^2~18^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1096a6e9da7885ec9e11d93aa459685a33fa4d9;p=pandora-kernel.git 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-diff-tree failed