drbd: Runtime changeable wire protocol
authorPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 13 Apr 2011 23:24:47 +0000 (16:24 -0700)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:45:18 +0000 (16:45 +0100)
commit303d1448a048fb5b099babc5f41d0b1e22238778
treedccb81765e81d3275addf91ff9644bacdda64b60
parentd3fcb4908d8cce7f29cff16bbef3b08933148003
drbd: Runtime changeable wire protocol

The wire protocol is no longer a property that is negotiated
between the two peers. It is now expressed with two bits
(DP_SEND_WRITE_ACK and DP_SEND_RECEIVE_ACK) in each data
packet. Therefore the primary node is free to change the
wire protocol at any time without disconnect/reconnect.

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_main.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_req.c
drivers/block/drbd/drbd_req.h