lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <50FF3F1E.30001@redhat.com>
Date:	Tue, 22 Jan 2013 19:38:38 -0600
From:	Eric Sandeen <sandeen@...hat.com>
To:	Andreas Dilger <adilger@...ger.ca>
CC:	"Bradley C. Kuszmaul" <kuszmaul@...il.com>,
	Zheng Liu <gnehzuil.liu@...il.com>,
	linux-ext4 <linux-ext4@...r.kernel.org>
Subject: Re: hole punching in ext4

On 1/22/13 6:03 PM, Andreas Dilger wrote:
> On 2013-01-22, at 4:50 PM, Bradley C. Kuszmaul wrote:
>> Thanks, this has been a very helpful thread.
>>
>> How do I determine and control whether a file is extent-based?
> 
> You can use "lsattr" on the file, and look for the "e" attribute.
> 
> This should be standard for any ext4-formatted filesystem.  For
> filesystems upgraded from ext3, you need to "tune2fs -O extents"
> to enable this feature.

But since it sounds like you might be on RHEL, don't do that.  We don't
test it or support it.  If you want ext4, mkfs.ext4 the device and go
from there.

-Eric

> Cheers, Andreas
> 
>> On Tue, Jan 22, 2013 at 11:20 AM, Zheng Liu <gnehzuil.liu@...il.com> wrote:
>>> 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.
>> --
>> 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
> 
> --
> 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
> 

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ