Source-Changes archive

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

CVS commit: src



Module Name:    src
Committed By:   dholland
Date:           Fri Jul 25 08:30:47 UTC 2014

Modified Files:
        src/include: unistd.h
        src/lib/libc/sys: Makefile.inc truncate.2
Added Files:
        src/lib/libc/sys: fdiscard.2

Log Message:
Add userlevel manifestations of posix_fallocate and fdiscard, in
unistd.h and libc, and add a man page.

Allow wiggle room in the man page for implementations of fallocate
that either (a) don't fully unwind on failure, leaving new blocks
allocated without changing the file size, or (b) create only in-memory
transient reservations that disappear when crashing or rebooting.

Also, add crossreference to fdiscard from ftruncate(2), and remove the
old BUGS entry from there that called for a generalized version that
allows discarding ranges of a file: that's what fdiscard is.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/include/unistd.h
cvs rdiff -u -r1.223 -r1.224 src/lib/libc/sys/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/lib/libc/sys/fdiscard.2
cvs rdiff -u -r1.28 -r1.29 src/lib/libc/sys/truncate.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index