public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* ext2 and directory indexing
@ 2010-06-06 11:29 Evgeniy Ivanov
  2010-06-06 11:54 ` Evgeniy Ivanov
  2010-06-07 12:56 ` tytso
  0 siblings, 2 replies; 4+ messages in thread
From: Evgeniy Ivanov @ 2010-06-06 11:29 UTC (permalink / raw)
  To: linux-ext4

Hello,

I'm a bit confused by indexing and ext2. It looks like there is no
hash code in ext2, but ext2_fs.h has EXT2_INDEX_FL (most confusing),
EXT2_FEATURE_COMPAT_DIR_INDEX and some other HTree things, but
EXT2_INDEX_FL and EXT2_FEATURE_COMPAT_DIR_INDEX  are not used
anywhere.
I have ext2 partition created with mkfs.ext2 and when I check this
partition e2fsck converts some directories to the indexed format and
sets EXT2_INDEX_FL/EXT3_INDEX_FL. But since I failed grep any usage of
EXT2_INDEX_FL in fs/ext2 that code doesn't reset EXT2_INDEX_FL (some
time ago I was suggested to make my ext2 implementation to reset this
flag which looks correct for ext3, but not ext2). Is it expected
behavior of e2fsck?
Does ext2 have directory indexing support (should my implementation of
ext2 do that)?


-- 
Evgeniy Ivanov

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

end of thread, other threads:[~2010-06-07 14:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-06 11:29 ext2 and directory indexing Evgeniy Ivanov
2010-06-06 11:54 ` Evgeniy Ivanov
2010-06-07 12:56 ` tytso
2010-06-07 14:10   ` Evgeniy Ivanov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox