diff options
author | 2012-03-26 16:47:11 +0200 | |
---|---|---|
committer | 2012-05-09 15:16:55 +0200 | |
commit | 197296ffed71b7d5056d8618a07fec145b040303 (patch) | |
tree | 7ee407b7f0536fb2cf7911ab0d7e48acce81cd4e /lib/mpi/mpi-bit.c | |
parent | drbd: move put_ldev from __req_mod() to the endio callback (diff) | |
download | linux-dev-197296ffed71b7d5056d8618a07fec145b040303.tar.xz linux-dev-197296ffed71b7d5056d8618a07fec145b040303.zip |
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 <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions