drbd: Considering that the two_primaries config flag can change
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 21 Apr 2011 09:36:49 +0000 (11:36 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:49:03 +0000 (16:49 +0100)
commit302bdeae49842cbd2faec8203f49b1c4ef20294d
treed72c6310b848494153e257a3797254a1ac8d2c24
parent91fd4dad64ce7ac48c4c30c7756c6d3c41e8ad0a
drbd: Considering that the two_primaries config flag can change

Now since it is possible to change the two_primaries config
flag while the connection is up, make sure we treat a peer_req
in a consistent way if the config flag changes while the peer_req
is under IO.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_receiver.c