From: Wang Sheng-Hui <shhuiw@gmail.com>
To: ext4 development <linux-ext4@vger.kernel.org>
Subject: Use fsck to free the space used by dir?
Date: Fri, 03 Aug 2012 22:19:17 +0800 [thread overview]
Message-ID: <501BDDE5.8060005@gmail.com> (raw)
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
next reply other threads:[~2012-08-03 14:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-03 14:19 Wang Sheng-Hui [this message]
2012-08-03 15:18 ` Use fsck to free the space used by dir? Eric Sandeen
2012-08-03 17:57 ` Theodore Ts'o
2012-08-04 4:25 ` Wang Sheng-Hui
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=501BDDE5.8060005@gmail.com \
--to=shhuiw@gmail.com \
--cc=linux-ext4@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.