From: Namjae Jeon <namjae.jeon@samsung.com>
To: Dave Chinner <david@fromorbit.com>
Cc: linux-fsdevel@vger.kernel.org, Theodore Ts'o <tytso@mit.edu>,
'Christoph Hellwig' <hch@infradead.org>,
Ashish Sangwan <a.sangwan@samsung.com>
Subject: Re: [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate
Date: Tue, 27 May 2014 14:15:27 +0900 [thread overview]
Message-ID: <001301cf796a$abe8aac0$03ba0040$@samsung.com> (raw)
> [ Hmmmm - I just had a great idea - removing entire directory
> contents via punching blocks. No more "remove one dirent at a time"
> for rm -rf, just punch the directory from start to end and there
> goes millions of directory entries in a single syscall and a handful
> of transactions. FALLOC_FL_DIR_PUNCH, anyone? ]
Hi Dave.
I think that it is a great idea also.
BTW, FALLOC_FL_DIR_PUNCH should remove sub-directories using recursive function.
If depth is very deep, Is it possible to make stack overflow issue ?
Thanks.
next reply other threads:[~2014-05-27 5:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 5:15 Namjae Jeon [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-02-18 16:39 [PATCH v5 10/10] manpage: update FALLOC_FL_COLLAPSE_RANGE flag in fallocate Namjae Jeon
2014-02-18 16:39 ` Namjae Jeon
[not found] ` <1392741594-20335-1-git-send-email-linkinjeon-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-04-16 6:05 ` Christoph Hellwig
[not found] ` <20140416060510.GA25651-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-04-17 13:40 ` Michael Kerrisk (man-pages)
2014-04-17 15:59 ` Christoph Hellwig
[not found] ` <20140417155959.GA24231-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2014-04-17 20:11 ` Michael Kerrisk (man-pages)
[not found] ` <CAKgNAkgis+LvQeiabWaRbb3=rvEV2_Z_XQ8O6d5JGR=eEFSxCg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-04-17 22:23 ` Christoph Hellwig
[not found] ` <534FD9B5.3000207-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-04-17 22:57 ` Dave Chinner
2014-04-18 9:45 ` Lukáš Czerner
2014-04-18 15:55 ` Theodore Ts'o
2014-04-19 6:16 ` Michael Kerrisk (man-pages)
2014-04-18 15:41 ` Michael Kerrisk (man-pages)
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='001301cf796a$abe8aac0$03ba0040$@samsung.com' \
--to=namjae.jeon@samsung.com \
--cc=a.sangwan@samsung.com \
--cc=david@fromorbit.com \
--cc=hch@infradead.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=tytso@mit.edu \
/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.