kalpak@clusterfs.com
2007-Mar-03 09:06 UTC
[Lustre-devel] [Bug 11780] New: e2fsck support to expand inode size
Please don''t reply to lustre-devel. Instead, comment in Bugzilla by using the following link: https://bugzilla.lustre.org/show_bug.cgi?id=11780 With the addition of the *time_extra fields in the on-disk inode, e2fsck needs to expand the inode for older filesystems. So i_extra_isize needs to be at least s_min_extra_isize if the EXT4_FEATURE_RO_COMPAT_EXTRA_ISIZE flag is set. This bug has been created to track the changes required for e2fsprogs to perform the inode expansion. Two things need to be done: 1) Improve support for handling EAs in e2fsprogs. (There is a lot of code duplication and some functionality like adding/removing EAs is not available in e2fsck.) 2) Implement the e2fsck_expand_extra_isize() function which may need to relocate some EAs. (Please see bug 10768 for better description of this.)