[Ocfs2-tools-devel] [PATCH 03/10] inline-data: mkfs.ocfs2 feature flags update
Tao Ma
tao.ma at oracle.com
Thu Jul 10 23:20:56 PDT 2008
From: Mark Fasheh <mfasheh at suse.com>
Add OCFS2_FEATURE_INCOMPAT_INLINE_DATA to the max-features feature level. We
can move it to the default at a later point.
NOTE: A later patch should update mkfs.ocfs2 to create orphan dirs with
inline data.
Signed-off-by: Mark Fasheh <mfasheh at suse.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
libocfs2/feature_string.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/libocfs2/feature_string.c b/libocfs2/feature_string.c
index 6d3408e..b3178ff 100644
--- a/libocfs2/feature_string.c
+++ b/libocfs2/feature_string.c
@@ -47,7 +47,8 @@ static fs_options feature_level_defaults[] = {
{OCFS2_FEATURE_COMPAT_BACKUP_SB,
OCFS2_FEATURE_INCOMPAT_SPARSE_ALLOC |
- OCFS2_FEATURE_INCOMPAT_EXTENDED_SLOT_MAP,
+ OCFS2_FEATURE_INCOMPAT_EXTENDED_SLOT_MAP |
+ OCFS2_FEATURE_INCOMPAT_INLINE_DATA,
OCFS2_FEATURE_RO_COMPAT_UNWRITTEN}, /* FEATURE_LEVEL_MAX_FEATURES */
};
@@ -79,6 +80,11 @@ static struct fs_feature_flags ocfs2_supported_features[] = {
{0, OCFS2_FEATURE_INCOMPAT_EXTENDED_SLOT_MAP, 0},
},
{
+ "inline-data",
+ {0, OCFS2_FEATURE_INCOMPAT_INLINE_DATA, 0},
+ {0, OCFS2_FEATURE_INCOMPAT_INLINE_DATA, 0},
+ },
+ {
NULL,
{0, 0, 0},
{0, 0, 0}
--
1.5.4.GIT
More information about the Ocfs2-tools-devel
mailing list