drbd: transfer log epoch numbers are now per resource
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 17 Nov 2011 10:49:46 +0000 (11:49 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:58:33 +0000 (16:58 +0100)
commitb379c41ed78e83c4443fca4dbfbc358c19e4f24c
tree4e5a3d472c67835406e4c511ada0277b97798c26
parent9d05e7c4e7069180370ce9c2c121fd6f7810c5a3
drbd: transfer log epoch numbers are now per resource

cherry-picked from drbd 9 devel branch.

In preparation of multiple connections, the "barrier number" or
"epoch number" needs to be tracked per-resource, not per connection.
The sequence number space will not be reset anymore.

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_req.c