From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Philipp Reisner To: drbd-dev@lists.linbit.com Subject: Re: [Drbd-dev] drbdsetup events patch to announce Split-brain Date: Thu, 25 Oct 2007 12:15:46 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710251215.47192.philipp.reisner@linbit.com> Cc: "Montrose, Ernest" List-Id: Coordination of development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 :