bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Goswin von Brederlow
Subject: bug#9500: [PATCH]: use posix_fallocate where supported
Date: Sat, 26 Nov 2011 04:48:36 +0100
User-agent: Gnus/5.110009 (No Gnus v0.9) XEmacs/21.4.22 (linux, no MULE)

Pádraig Brady <address@hidden> writes:

> Hmm, one of your points above got me thinking.
> Might fallocate() fail to allocate an extent with ENOSPC,
> but there could be fragmented space available to write()?
> That would scupper benefit (2) above :(
> I'll ask address@hidden
>
> cheers,
> Pádraig.

fallocate() in no way garanties that the space is continious. Any
filesystem that is halfway smart will use a continious chunk if
possible. But it should only fail if there is really no space, no matter
how fragmented, left.

MfG
        Goswin





reply via email to

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