linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Use fsck to free the space used by dir?
@ 2012-08-03 14:19 Wang Sheng-Hui
  2012-08-03 15:18 ` Eric Sandeen
  0 siblings, 1 reply; 4+ messages in thread
From: Wang Sheng-Hui @ 2012-08-03 14:19 UTC (permalink / raw)
  To: ext4 development

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).

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? 

Please help confirm or if I missed some points.


Regards,
Sheng-Hui

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

end of thread, other threads:[~2012-08-04  4:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 14:19 Use fsck to free the space used by dir? Wang Sheng-Hui
2012-08-03 15:18 ` Eric Sandeen
2012-08-03 17:57   ` Theodore Ts'o
2012-08-04  4:25     ` Wang Sheng-Hui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).