summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/cluster/masklog.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2010-02-27 04:42:44 +0100
committerJoel Becker <joel.becker@oracle.com>2010-02-28 04:57:06 +0100
commit9b915181af0a99fe94ef0152e6a4ca9990c3b6d0 (patch)
treeecbca6ed6fd749c6130a7a1f28a9fe7f705ce029 /fs/ocfs2/cluster/masklog.c
parentdlm: allow dlm do recovery during shutdown (diff)
downloadlinux-9b915181af0a99fe94ef0152e6a4ca9990c3b6d0.tar.xz
linux-9b915181af0a99fe94ef0152e6a4ca9990c3b6d0.zip
ocfs2: Use a separate masklog for AST and BASTs
This patch adds a new masklog and uses it allow tracing ASTs and BASTs in the dlmglue layer. This has been found to be very useful in debugging cluster locking issues. Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/cluster/masklog.c')
-rw-r--r--fs/ocfs2/cluster/masklog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ocfs2/cluster/masklog.c b/fs/ocfs2/cluster/masklog.c
index 1cd2934de615..b39da877b12f 100644
--- a/fs/ocfs2/cluster/masklog.c
+++ b/fs/ocfs2/cluster/masklog.c
@@ -112,6 +112,7 @@ static struct mlog_attribute mlog_attrs[MLOG_MAX_BITS] = {
define_mask(XATTR),
define_mask(QUOTA),
define_mask(REFCOUNT),
+ define_mask(BASTS),
define_mask(ERROR),
define_mask(NOTICE),
define_mask(KTHREAD),