drbd: Delayed creation of current-UUID
authorPhilipp Reisner <philipp.reisner@linbit.com>
Fri, 11 Jun 2010 09:26:34 +0000 (11:26 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 14 Oct 2010 12:59:21 +0000 (14:59 +0200)
commit43a5182cccae5850f7590f78dd9651bd407be440
treeb3bed34cdd96b8272134f3b00441f109193292af
parent87f7be4cf88e93069f4cc63baf2ce70fdfc59c63
drbd: Delayed creation of current-UUID

When a fencing policy of "resource-and-stonith" is configured,
and DRBD looses connection to it's peer, we can delay the
creation of a new current-UUID until IO gets thawed.

That allows one to deploy fence-peer handlers that actually
commit suicide on the machine they get started.

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