On 8/3/12 9:19 AM, Wang Sheng-Hui wrote: > Dear all, > > I read through the namei.c code recently, but didn't notice any code to > reduce the size of a dir file (append can increase its size though). Right, AFAIK nothing in kernelspace will reduce the size. > I wonder if I create large amount of files under dir A, then remove all > the sub items, do I need to run fsck to free the disk space used by the > dir file? Yes, e2fsck -fD should compress them again. -Eric > Please help confirm or if I missed some points. > > > Regards, > Sheng-Hui > -- > To unsubscribe from this list: send the line "unsubscribe linux-ext4" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html