[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130122162009.GB2072@gmail.com>
Date: Wed, 23 Jan 2013 00:20:09 +0800
From: Zheng Liu <gnehzuil.liu@...il.com>
To: "Bradley C. Kuszmaul" <kuszmaul@...il.com>
Cc: linux-ext4 <linux-ext4@...r.kernel.org>
Subject: Re: hole punching in ext4
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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists