drbd: Prepare epochs per connection
authorPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Nov 2011 13:56:07 +0000 (14:56 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:07 +0000 (16:58 +0100)
commit1d2783d532207531ba8e3bfb016a4512dec97666
tree47f67473a93ab905687e4333aa4c1d91060fe721
parent4b0007c0e8def19266c767f0410ce81eb39f55c7
drbd: Prepare epochs per connection

An epoch object needs a pointer to the mdev it was received for.
This is necessary to be able to send the barrier ack packet for
the same volume as the original barrier packet was assigned to.

This prepares the next step, in which the (receiver side)
epoch list is moved from the device (mdev) to the connection (tconn)
object.

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