linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zheng Liu <gnehzuil.liu@gmail.com>
To: "Bradley C. Kuszmaul" <kuszmaul@gmail.com>
Cc: linux-ext4 <linux-ext4@vger.kernel.org>
Subject: Re: hole punching in ext4
Date: Wed, 23 Jan 2013 00:20:09 +0800	[thread overview]
Message-ID: <20130122162009.GB2072@gmail.com> (raw)
In-Reply-To: <CAKSyJXdbwtOQi==rPZ3nS72bLb9wd0rrmt8RTNPJMUCph-B1Ow@mail.gmail.com>

On Tue, Jan 22, 2013 at 09:34:59AM -0500, Bradley C. Kuszmaul wrote:
> Hi,
> 
> Do any of the ext file systems support hole punching?  If so, do the
> redhat distributions support it?  Can someone provide an example of a
> program that punches a hole in a file in an ext4 file system?

Hello,

Ext4 file system supports hole punching.  But until now only extent-based
file supports it.  As far as I know, redhat distributions don't support
hole punching.  You can find a sample program from e2fsprogs which is in
$e2fsprogs/conrib/fallocate.c.  The latest fallocate(1) in util-linux
also can be as a demo.

Regards,
                                                - Zheng

  parent reply	other threads:[~2013-01-22 16:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKSyJXfvTFjGMO2ZZPsnSjc_fnUzfs2oMrYf7UQoPvO0=98FxA@mail.gmail.com>
2013-01-22 14:34 ` hole punching in ext4 Bradley C. Kuszmaul
2013-01-22 15:30   ` Eric Sandeen
2013-01-22 16:20   ` Zheng Liu [this message]
2013-01-22 23:50     ` Bradley C. Kuszmaul
2013-01-23  0:03       ` Andreas Dilger
2013-01-23  1:38         ` Eric Sandeen
2013-01-22 16:38   ` Carlos Maiolino

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=20130122162009.GB2072@gmail.com \
    --to=gnehzuil.liu@gmail.com \
    --cc=kuszmaul@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 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).