ocfs2/dlm: Activate dlm->master_hash for master list entries
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 26 Feb 2009 23:00:41 +0000 (15:00 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:19 +0000 (11:39 -0700)
commit2ed6c750d645d09b5948e46fada3ca1fda3157b5
tree47d2a6b7d3f6407312f9857abdaf114f14223286
parente2b66ddcce922529e058cf74d839c4c49c8379a1
ocfs2/dlm: Activate dlm->master_hash for master list entries

With this patch, the mles are stored in a hash and not a simple list.
This should improve the mle lookup time when the number of outstanding
masteries is large.

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