Re: on disk format: value of bg_inode_table_hi?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 29, 2009 at 11:47:29AM +0000, Etienne Lorrain wrote:
> - If I only access the ext4 filesystem readonly, I do not
>  have any difference considering the flags of the superblock:
>  EXT4_FEATURE_INCOMPAT_META_BG, EXT4_FEATURE_INCOMPAT_MMP,
>  EXT4_FEATURE_INCOMPAT_FLEX_BG.

meta_bg is an INCOMPAT feature because kernels that don't understand
this option won't be able to find the inode table blocks, and would
crash and burn.

flex_bg is an INCOMPAT feature because older kernels do an explicit
sanity check to make sure a block group's metadata is in the block
group.  This one could have been ro_incompat, I suppose, since the
worst that would happen with an ro mount on those older kernels is
they would cause an error when the filesystem is mounted.  On the
other hand, if the filesystem was also marked "panic and reboot on
error", some users might consider it unfriendly that mounting such a
filesystem on an older kernel would cause an immediate reboot.

Given that there are some security extremists who consider the
possibility of filesystem images that cause a reboot as a "security
bug" that worthy of assignment of a CVE and urgent bug reports forcing
other developers to drop everything and address said "security bug",
it's probably best that flex_bg is an INCOMPAT feature.  :-)

          	      	   		      - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux