[Drbd-dev] drbdsetup events patch to announce Split-brain
Montrose, Ernest
Ernest.Montrose at stratus.com
Thu Oct 25 14:24:55 CEST 2007
Phil,
Currently we do not use the payload for anything. I was just being
paranoid thinking that we might need it in the future. But you can drop
it if you wish. If we have a pressing need for it in the future, we'll
deal with it then.
Thanks.
EM--
-----Original Message-----
From: Philipp Reisner [mailto:philipp.reisner at linbit.com]
Sent: Thursday, October 25, 2007 6:16 AM
To: drbd-dev at linbit.com
Cc: Montrose, Ernest
Subject: Re: [Drbd-dev] drbdsetup events patch to announce Split-brain
On Monday 01 October 2007 23:24:02 Montrose, Ernest wrote:
> Hi,
>
> Included here is a small patch that I find useful when monitoring with
> drbdsetup(). It adds the ability to generate an netlink event to user
> space when drbd Split-brain and disconnect. Based on that event we
can
> then take action. I could not find a more
> convenient way to know that a split-brain occurred other then looking
in
> /var/log/messages.
>
Hi Ernest,
I have nearly overlooked this patch...
You are right, it is definitely a good idea to have that.
I just need to change the tag number for the split_brain flag,
since that number is already allocated in drbd-8.2.0.
The question I have, what is the flag good for ? Do you envision
an future use of it ? otherwise I would drop it, it is possible
to have such an cn packet, that does not carry any futher data...
-phil
--
: 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 :
More information about the drbd-dev
mailing list