linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Which features should I implement in my ext4 reader?
@ 2013-08-12 15:38 Felipe Monteiro de Carvalho
  2013-08-14  5:06 ` Felipe Monteiro de Carvalho
  0 siblings, 1 reply; 20+ messages in thread
From: Felipe Monteiro de Carvalho @ 2013-08-12 15:38 UTC (permalink / raw)
  To: linux-ext4

Hello,

Thanks to the help here I have essentially finished my ext4 reader =)
At least it can read ext4 filesystems with these features, which is
what I found when using Ubuntu and Mageia LInux:

   EXT4_FEATURE_INCOMPAT_JOURNAL_DEV	= $0008; // Journal device */
   EXT4_FEATURE_INCOMPAT_META_BG	= $0010;
   EXT4_FEATURE_INCOMPAT_EXTENTS	= $0040; // extents support */
   EXT4_FEATURE_INCOMPAT_FLEX_BG	= $0200;
   EXT4_FEATURE_INCOMPAT_64BIT		= $0080;

Some features seam to not require any extra care for my reader:

   EXT4_FEATURE_INCOMPAT_COMPRESSION	= $0001;
   EXT4_FEATURE_INCOMPAT_FILETYPE	= $0002;
   EXT4_FEATURE_INCOMPAT_RECOVER	= $0004; // Needs recovery */
   EXT4_FEATURE_INCOMPAT_BG_USE_META_CSUM= $2000; // use crc32c for bg */

But I now wonder about these features:

   EXT4_FEATURE_INCOMPAT_MMP            = $0100;
   EXT4_FEATURE_INCOMPAT_EA_INODE	= $0400; // EA in inode */
   EXT4_FEATURE_INCOMPAT_DIRDATA	= $1000; // data in dirent */
   EXT4_FEATURE_INCOMPAT_LARGEDIR	= $4000; // >2GB or 3-lvl htree */
   EXT4_FEATURE_INCOMPAT_INLINEDATA	= $8000; // data in inode */

Could anyone comment how common is the use of those features and if
they are already stable and in production usage (I read that they were
under development in 2011)?

And also which ones require an active work for a reader application to
implement. As I already found out that FLEX_BG does not require active
work to be supported despite being in the INCOMPAT list...

>From the description I'm pretty sure that at least DIRDATA and
INLINEDATA would require adjustments in my software. But I wonder if
they are already being used and stable, etc, and if it is a good idea
to work on supporting them.

thanks, =)
-- 
Felipe Monteiro de Carvalho

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-09-05  7:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12 15:38 Which features should I implement in my ext4 reader? Felipe Monteiro de Carvalho
2013-08-14  5:06 ` Felipe Monteiro de Carvalho
2013-08-17  6:27   ` Felipe Monteiro de Carvalho
2013-08-17 13:02   ` Theodore Ts'o
2013-08-18  6:04     ` Felipe Monteiro de Carvalho
2013-08-19  5:08       ` Zheng Liu
2013-08-20 10:16         ` Felipe Monteiro de Carvalho
2013-08-20 10:39           ` Zheng Liu
2013-08-21 12:16             ` Felipe Monteiro de Carvalho
2013-08-23 12:54               ` Felipe Monteiro de Carvalho
2013-08-28 20:09                 ` Felipe Monteiro de Carvalho
2013-09-02  9:40                   ` Felipe Monteiro de Carvalho
2013-09-02 12:07                     ` Zheng Liu
2013-09-02 12:35                       ` Felipe Monteiro de Carvalho
2013-09-04  5:35                         ` Zheng Liu
2013-09-05  5:25                           ` jon ernst
     [not found]                           ` <CAGW2f1FgHZsQbNMyWiD997UZz55y20qHJHryEcMsgpEwecxftA@mail.gmail.com>
2013-09-05  7:04                             ` Felipe Monteiro de Carvalho
2013-09-05  7:41                               ` Felipe Monteiro de Carvalho
2013-09-02 16:41                     ` Darrick J. Wong
2013-08-19 14:03       ` Theodore Ts'o

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).