[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <501BEBE1.5080508@redhat.com>
Date: Fri, 03 Aug 2012 10:18:57 -0500
From: Eric Sandeen <sandeen@...hat.com>
To: Wang Sheng-Hui <shhuiw@...il.com>
CC: ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: Use fsck to free the space used by dir?
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@...r.kernel.org
> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists