On Tue, Apr 28, 2009 at 02:33:46PM +0100, Richard W.M. Jones wrote: > On Mon, Apr 27, 2009 at 03:42:32PM -0500, Eric Sandeen wrote: > > If you didn't want to fall back to the slow behavior on ext3, you might > > consider only using fallocate() if it's there, rather than > > posix_fallocate(). > > Does this imply there's a fast way to allocate a non-sparse > zero-filled file on ext3?!? No, it means that if you call fallocate() on ext2/3 it'll return ENOSYS error code instead of falling back to writing zeros like posix_fallocate() does. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list