ocfs2/dlm: Improve lockres counts
commit6800791ab773453bdec337efb3f0cec6557f3bb3
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 26 Feb 2009 23:00:44 +0000 (26 15:00 -0800)
committerMark Fasheh <mfasheh@suse.com>
Fri, 3 Apr 2009 18:39:21 +0000 (3 11:39 -0700)
treec4f678c75d17aae11eae6e71d16962c7526da194
parent2041d8fdcec7603401829f60810c1dbd5e96c043
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