summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2011-04-04 22:19:59 +0200
committerDavid Teigland <teigland@redhat.com>2011-04-05 17:54:47 +0200
commit2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5 (patch)
treeb667622eda00739c54e2010c5f38bba9c76947c7 /fs/dlm/dlm_internal.h
parentdlm: delayed reply message warning (diff)
downloadlinux-2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5.tar.xz
linux-2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5.zip
dlm: remove shared message stub for recovery
kmalloc a stub message struct during recovery instead of sharing the struct in the lockspace. This leaves the lockspace stub_ms only for faking downconvert replies, where it is never modified and sharing is not a problem. Also improve the debug messages in the same recovery function. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
-rw-r--r--fs/dlm/dlm_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/dlm_internal.h b/fs/dlm/dlm_internal.h
index 6a92478fe1f1..0262451eb9c6 100644
--- a/fs/dlm/dlm_internal.h
+++ b/fs/dlm/dlm_internal.h
@@ -209,6 +209,7 @@ struct dlm_args {
#define DLM_IFL_WATCH_TIMEWARN 0x00400000
#define DLM_IFL_TIMEOUT_CANCEL 0x00800000
#define DLM_IFL_DEADLOCK_CANCEL 0x01000000
+#define DLM_IFL_STUB_MS 0x02000000 /* magic number for m_flags */
#define DLM_IFL_USER 0x00000001
#define DLM_IFL_ORPHAN 0x00000002