From: "Pádraig Brady" <P@draigbrady.com>
To: Lukas Czerner <lczerner@redhat.com>
Cc: util-linux@vger.kernel.org, kzak@redhat.com
Subject: Re: [PATCH] fallocate: add FALLOC_FL_ZERO_RANGE support
Date: Wed, 02 Apr 2014 13:27:08 +0100 [thread overview]
Message-ID: <533C021C.4060106@draigBrady.com> (raw)
In-Reply-To: <1396438265-21535-1-git-send-email-lczerner@redhat.com>
On 04/02/2014 12:31 PM, Lukas Czerner wrote:
> Recent Linux kernel supports FALLOC_FL_ZERO_RANGE in fallocate(2).
> This patch adds FALLOC_FL_ZERO_RANGE support to fallocate utility,
> by introducing a new option -z|--zero-range.
>
> Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Looks good thanks.
I was wondering how this interacts with the --dig-holes option.
That looks for ranges of zeros as efficiently as possible to turn them into holes.
It uses SEEK_DATA for that, so I was wondering if these preallocated
ranges of zeroes are treated specially in that regard?
Note one could use fiemap to distinguish these ranges,
but it's buggy as one needs to sync the file before using it.
thanks,
Pádraig.
next prev parent reply other threads:[~2014-04-02 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 11:31 [PATCH] fallocate: add FALLOC_FL_ZERO_RANGE support Lukas Czerner
2014-04-02 12:27 ` Pádraig Brady [this message]
2014-04-02 15:52 ` Lukáš Czerner
2014-04-18 10:53 ` Karel Zak
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=533C021C.4060106@draigBrady.com \
--to=p@draigbrady.com \
--cc=kzak@redhat.com \
--cc=lczerner@redhat.com \
--cc=util-linux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox