Skip to contentSkip to conversation

Entries in feature_list[]

DISCUSSION Girish Shilamkar 2 participants 2 messages Mar 27, 2008 – Apr 13, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
In e2fsprogs/lib/e2p/feature.c
struct feature feature_list[] contains:

        ... 
	{       E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS,
                        "extents" },
        {       E2P_FEATURE_INCOMPAT, EXT2_FEATURE_INCOMPAT_META_BG,
                        "meta_bg" }
        {       E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS,
                        "extent" },
        ...

Is the { E2P_*, EXT3_*, "extent"} entry correct one, if yes, what is the purpose behind having two {E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS, *} entries, unless we want "extent" to be correct feature ?

Thanks,
Girish

#1 lore raw
Quoted 11 lines · Girish Shilamkar

In e2fsprogs/lib/e2p/feature.c
struct feature feature_list[] contains:

        ... 
	{       E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS,
                        "extents" },
        {       E2P_FEATURE_INCOMPAT, EXT2_FEATURE_INCOMPAT_META_BG,
                        "meta_bg" }
        {       E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS,
                        "extent" },
        ...
Quoted 3 lines

Is the { E2P_*, EXT3_*, "extent"} entry correct one, if yes, what is the purpose behind having two {E2P_FEATURE_INCOMPAT, EXT3_FEATURE_INCOMPAT_EXTENTS, *} entries, unless we want "extent" to be correct feature ?

This is probably a merge error, or maybe a convenice measure to allow both "extent" and "extents"? We need something similar for "uninit_groups" and the new "uninit_bg".

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.