]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita97e775c801aa98a6c7e1b6585406196448f038d
tree47d2a6b7d3f6407312f9857abdaf114f14223286
parent2a0ddd2a1cd74a201843c036c0868d1675288446
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