[Cluster-devel] [PATCH] work around rgmanager-caused DLM race condition, BZ #193128, pass 2

Lon Hohberger lhh at redhat.com
Thu Jun 15 23:08:15 UTC 2006


On Thu, 2006-06-15 at 12:43 -0400, Lon Hohberger wrote:
> These patches allows users of magma to use NULL locks (where supported)
> and attempt to convert in a loop, rather than take/release locks in a
> tight loop as is currently done.
> 
> -- Lon

Add checking in case the lock is not mastered locally; it seems as
though a locally mastered lock returns -1 / errno=EAGAIN, while a
remotely mastered lock will return 0 / errno=0, with lksb->sb_status set
to EAGAIN.

Replaces magma-plugins-193128-1.patch

-- Lon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: magma-plugins-193128-2.patch
Type: text/x-patch
Size: 5881 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060615/49a445b9/attachment.bin>


More information about the Cluster-devel mailing list