[Drbd-dev] [DRBD-8.0 PATCH] Add split-brain event to netlink

Montrose, Ernest Ernest.Montrose at stratus.com
Fri Jan 11 16:38:30 CET 2008

This one actually was.  And Phil took a different approach where we
would use the usermode_helper. Below is that exchange for completeness:
Over the weekend I realized that the split brain event is quite similar
to a number of events we already signal back to userspace.
The invocation of handlers is also visible through the "drbdsetup
The attached patch creates an handler called "split-brain". If you can
live with that interface as well, I will commit that...
In the future I want to go this way:
  * Allow one to set the usermode_helper to the empty string. Then it 
    is still possible to get all events through the "drbdsetup events"
  * The "outdate-peer" usermode_helper sends an exit code back
    to kernel space. This is not yet possible when one only uses
    the "drbdsetup events" interface. This should get fixed.
: Dipl-Ing Philipp Reisner                      Tel +43-1-8178292-50 :
: LINBIT Information Technologies GmbH          Fax +43-1-8178292-82 :
: Vivenotgasse 48, 1120 Vienna, Austria        http://www.linbit.com
<http://www.linbit.com/>  :
drbd-dev mailing list
drbd-dev at lists.linbit.com

From: drbd-dev-bounces at linbit.com [mailto:drbd-dev-bounces at linbit.com]
On Behalf Of Graham, Simon
Sent: Friday, January 11, 2008 10:25 AM
To: drbd-dev at linbit.com
Subject: [Drbd-dev] [DRBD-8.0 PATCH] Add split-brain event to netlink
I'm not sure if this was previously submitted or not, but this change
adds an explicit split-brain event to the netlink notifications so that
user mode code can know when a split-brain situation is encountered.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linbit.com/pipermail/drbd-dev/attachments/20080111/5d03b1c3/attachment.html

More information about the drbd-dev mailing list