[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9500: [PATCH]: use posix_fallocate where supported

From: Eric Blake
Subject: bug#9500: [PATCH]: use posix_fallocate where supported
Date: Wed, 14 Sep 2011 08:06:49 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110831 Fedora/3.1.12-2.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.12

On 09/13/2011 11:55 PM, Kelly Anderson wrote:

I put together a patch 2 or 3 years ago (back when posix_fallocate was
first introduced in glibc).

Thanks for the effort. However, this has been discussed in the past, and the consensus was that we should first write a patch to gnulib that provides a posix_fallocate() stub for all platforms, so that coreutils can unconditionally call posix_fallocate, rather than making coreutils have to use #ifdef. Among other things, a gnulib module would make it possible to emulate posix_fallocate() even on older glibc where it is missing or broken.

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]