Whamcloud - gitweb
e2fsck: add support for dir_data feature
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 13 Apr 2012 19:39:26 +0000 (13:39 -0600)
committerAndreas Dilger <andreas.dilger@intel.com>
Thu, 25 Apr 2013 07:00:45 +0000 (01:00 -0600)
commitc405a2dc58c1ea5b05224f14968864c62edfa784
tree9e20f672add1c71741cff3287950c3e4586466d8
parent907650fd78a10b9fbd9832c4fc910b7ab8462607
e2fsck: add support for dir_data feature

Add support for the INCOMPAT_DIRDATA feature, which allows
storing extra data in the directory entry beyond the name.
This allows the Lustre File IDentifier to be accessed in
an efficient manner, and would be useful for expanding a
filesystem to allow more than 2^32 inodes in the future.

  LU-1774 e2fsck: e2fsck -D does not change dirdata content

  Fix dir optimization to preserver dirdata content for dot
  and dotdot entries.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
  Change-Id: Iae190794da75a2080a8e5cc5b95a49e0c894f72f

Signed-off-by: Pravin Shelar <pravin@clusterfs.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
15 files changed:
debugfs/ls.c
e2fsck/pass1.c
e2fsck/pass2.c
e2fsck/pass3.c
e2fsck/problem.c
e2fsck/problem.h
e2fsck/rehash.c
lib/ext2fs/dirblock.c
lib/ext2fs/ext2_fs.h
lib/ext2fs/ext2fs.h
lib/ext2fs/lfsck.h [new file with mode: 0644]
lib/ext2fs/link.c
lib/ext2fs/newdir.c
misc/mke2fs.c
misc/tune2fs.c