drbd: log UUIDs whenever they change
authorLars Ellenberg <lars.ellenberg@linbit.com>
Thu, 20 Jan 2011 12:25:21 +0000 (13:25 +0100)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 10 Mar 2011 10:48:01 +0000 (11:48 +0100)
commit62b0da3a244ac33d25a77861ef1cc0080103f2ff
treea4313df7c46ac50d751fb0798323e34a3e4efbee
parentd07c9c10e5620c632aae9cac2b609033398f6139
drbd: log UUIDs whenever they change

All decisions about sync, sync direction, and wether or not to
allow a connect or attach are based on our set of UUIDs to tag a
data generation.

Log changes to the UUIDs whenever they occur,
logging "new current UUID P:Q:R:S" is more useful
than "Creating new current UUID".

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_nl.c
drivers/block/drbd/drbd_receiver.c
drivers/block/drbd/drbd_worker.c