[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-06-13 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or

[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-06-13 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or similar), until now we just had to

[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-06-13 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or

[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-06-13 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or similar), until now we just had to

[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-04-25 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or

[PATCH 24/30] drbd: disallow promotion during resync handshake, avoid deadlock and hard reset

2016-04-25 Thread Philipp Reisner
From: Lars Ellenberg We already serialize connection state changes, and other, non-connection state changes (role changes) while we are establishing a connection. But if we have an established connection, then trigger a resync handshake (by primary --force or similar), until now we just had to