]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2/dlm: Improve lockres counts
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 26 Feb 2009 23:00:44 +0000 (15:00 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:21 +0000 (11:39 -0700)
commit6df992d5bab4c8cb53c88cec5fe54a7083ece1fb
treec4f678c75d17aae11eae6e71d16962c7526da194
parent02fd26fcc8f8b4c75fd7c66977aba14b93f756f4
ocfs2/dlm: Improve lockres counts

This patch replaces the lockres counts that tracked the number number of
locally and remotely mastered lockres' with a current and total count. The
total count is the number of lockres' that have been created since the dlm
domain was created.

The number of locally and remotely mastered counts can be computed using
the locking_state output.

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