summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2011-04-04 15:19:59 -0500
committerDavid Teigland <teigland@redhat.com>2011-04-05 10:54:47 -0500
commit2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5 (patch)
treeb667622eda00739c54e2010c5f38bba9c76947c7 /fs/dlm/dlm_internal.h
parentc6ff669bac5c409f4cb74366248f51b73f7d6feb (diff)
downloadop-kernel-dev-2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5.zip
op-kernel-dev-2a7ce0edd661b3144c7b916ecf1eba0967b6d4a5.tar.gz
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 6a92478..0262451 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
OpenPOWER on IntegriCloud