From: Theodore Tso <tytso@mit.edu>
To: Etienne Lorrain <etienne_lorrain@yahoo.fr>
Cc: Andreas Dilger <adilger@sun.com>, linux-ext4@vger.kernel.org
Subject: Re: on disk format: value of bg_inode_table_hi?
Date: Thu, 29 Jan 2009 23:19:40 -0500 [thread overview]
Message-ID: <20090130041940.GB23220@mit.edu> (raw)
In-Reply-To: <419866.84825.qm@web23605.mail.ird.yahoo.com>
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
prev parent reply other threads:[~2009-01-30 4:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 0:20 on disk format: value of bg_inode_table_hi? Etienne Lorrain
2009-01-28 18:01 ` Andreas Dilger
2009-01-28 20:47 ` Etienne Lorrain
2009-01-29 5:12 ` Theodore Tso
2009-01-29 11:47 ` Etienne Lorrain
2009-01-30 4:19 ` Theodore Tso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090130041940.GB23220@mit.edu \
--to=tytso@mit.edu \
--cc=adilger@sun.com \
--cc=etienne_lorrain@yahoo.fr \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).