work around rgmanager-caused DLM race condition, BZ #193128, pass 2
PATCH 1/1 work around rgmanager-caused DLM race condition, BZ #193128, pass 2
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: magma-193128-1.patch
Type: text/x-patch
Size: 3235 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060615/f2f54fa4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: magma-plugins-193128-1.patch
Type: text/x-patch
Size: 5716 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060615/f2f54fa4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rgmanager-193128-1.patch
Type: text/x-patch
Size: 3296 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20060615/f2f54fa4/attachment-0002.bin>
PATCH 1/1 work around rgmanager-caused DLM race condition, BZ #193128, pass 2
Quoted 5 lines · Lon Hohberger
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>