[Ocfs2-tools-devel] [PATCH 8/9] libocfs2: Support 64bit journals.

Joel Becker joel.becker at oracle.com
Tue Sep 9 17:57:15 PDT 2008


libocfs2 is ensured to check the journal feature bits before continuing
via the COMPAT_JBD2_SB filesystem feature.  fsck.ocfs2 can replay and
recover 64bit journals.  tunefs.ocfs2 copies journal feature bits when
creating new slots.  We are now safe to mark the feature bit supported.

Signed-off-by: Joel Becker <joel.becker at oracle.com>
---
 include/ocfs2/jbd2.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/ocfs2/jbd2.h b/include/ocfs2/jbd2.h
index 68a524d..08d8e39 100644
--- a/include/ocfs2/jbd2.h
+++ b/include/ocfs2/jbd2.h
@@ -174,6 +174,7 @@ typedef struct journal_superblock_s
 /* Features known to this kernel version: */
 #define JBD2_KNOWN_COMPAT_FEATURES	0
 #define JBD2_KNOWN_ROCOMPAT_FEATURES	0
-#define JBD2_KNOWN_INCOMPAT_FEATURES	JBD2_FEATURE_INCOMPAT_REVOKE
+#define JBD2_KNOWN_INCOMPAT_FEATURES	(JBD2_FEATURE_INCOMPAT_REVOKE \
+					 | JBD2_FEATURE_INCOMPAT_64BIT)
 
 #endif		/* _JBD2_H_ */
-- 
1.5.6.3




More information about the Ocfs2-tools-devel mailing list