ocfs2_dlm: Ensure correct ordering of set/clear refmap bit on lockres
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 29 Jan 2007 23:19:16 +0000 (15:19 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 7 Feb 2007 20:08:13 +0000 (12:08 -0800)
commitf3f854648de64c4b6f13f6f13113bc9525c621e5
treeaeacd37bd30e2f416cb5eef88d2e2bc00b457f88
parentab81afd30bc154bb1e8749e5aeeffe9b93c90834
ocfs2_dlm: Ensure correct ordering of set/clear refmap bit on lockres

Eventhough the set refmap bit message is sent before the clear refmap
message, currently there is no guarentee that the set message will be
handled before the clear. This patch prevents the clear refmap to be
processed while the node is sending assert master messages to other
nodes. (The set refmap message is sent as a response to the assert
master request).

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmcommon.h
fs/ocfs2/dlm/dlmmaster.c