diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-05-01 14:11:13 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:42:58 -0400 |
commit | 466d1a4591c4e1bc3affd5c0cf3df5ad20338fb9 (patch) | |
tree | ef7eef15780bfdaf339967be320b6a74146dbec5 /fs/ocfs2/dlm/dlmcommon.h | |
parent | 69d72b066cc5971318d9e29e34289b74cf8a9d22 (diff) |
ocfs2: make dlm recovery finalization 2 stage
Makes it easier for the recovery process to deal with node death.
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmcommon.h')
-rw-r--r-- | fs/ocfs2/dlm/dlmcommon.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/ocfs2/dlm/dlmcommon.h b/fs/ocfs2/dlm/dlmcommon.h index 9e052445b0b5..78eccd0951e4 100644 --- a/fs/ocfs2/dlm/dlmcommon.h +++ b/fs/ocfs2/dlm/dlmcommon.h | |||
@@ -71,7 +71,8 @@ static inline int dlm_is_recovery_lock(const char *lock_name, int name_len) | |||
71 | return 0; | 71 | return 0; |
72 | } | 72 | } |
73 | 73 | ||
74 | #define DLM_RECO_STATE_ACTIVE 0x0001 | 74 | #define DLM_RECO_STATE_ACTIVE 0x0001 |
75 | #define DLM_RECO_STATE_FINALIZE 0x0002 | ||
75 | 76 | ||
76 | struct dlm_recovery_ctxt | 77 | struct dlm_recovery_ctxt |
77 | { | 78 | { |
@@ -633,7 +634,8 @@ struct dlm_finalize_reco | |||
633 | { | 634 | { |
634 | u8 node_idx; | 635 | u8 node_idx; |
635 | u8 dead_node; | 636 | u8 dead_node; |
636 | __be16 pad1; | 637 | u8 flags; |
638 | u8 pad1; | ||
637 | __be32 pad2; | 639 | __be32 pad2; |
638 | }; | 640 | }; |
639 | 641 | ||