[Ocfs2-tools-devel] [PATCH] o2hbmonitor: add semaphore

Sunil Mushran sunil.mushran at oracle.com
Mon Jan 3 21:33:01 PST 2011


On 01/03/2011 06:55 PM, Joel Becker wrote:
> On Mon, Jan 03, 2011 at 01:41:07PM -0800, Sunil Mushran wrote:
>> There are three conditions.
>> 1. Get the lock successfully.
>> 2. Unable to get the lock.
>> 3. Error obtaining the lock.
>>
>> We should continue to monitor in cases 1 and 3. We abort only in 2.
> 	I'm not sure we should continue for (3).  How would the user
> know to correct the problem?

The only problem I can see is sem create fail. My initial plan
was to print the error but still continue. Having multiple monitors
is not the end of the world.



More information about the Ocfs2-tools-devel mailing list