Date: Mon, 18 Apr 2011 16:32:22 +0000 (UTC) From: Matthew D Fleming <mdf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/sys Makefile.inc Symbol.map posix_fallocate.2 src/sys/compat/freebsd32 freebsd32_misc.c syscalls.master src/sys/kern syscalls.master vfs_default.c vfs_syscalls.c vnode_if.src src/sys/sys fcntl.h vnode.h Message-ID: <201104181633.p3IGXgSo003739@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdf 2011-04-18 16:32:22 UTC
FreeBSD src repository
Modified files:
lib/libc/sys Makefile.inc Symbol.map
sys/compat/freebsd32 freebsd32_misc.c syscalls.master
sys/kern syscalls.master vfs_default.c
vfs_syscalls.c vnode_if.src
sys/sys fcntl.h vnode.h
Added files:
lib/libc/sys posix_fallocate.2
Log:
SVN rev 220791 on 2011-04-18 16:32:22Z by mdf
Add the posix_fallocate(2) syscall. The default implementation in
vop_stdallocate() is filesystem agnostic and will run as slow as a
read/write loop in userspace; however, it serves to correctly
implement the functionality for filesystems that do not implement a
VOP_ALLOCATE.
Note that __FreeBSD_version was already bumped today to 900036 for any
ports which would like to use this function.
Also reserve space in the syscall table for posix_fadvise(2).
Reviewed by: -arch (previous version)
Revision Changes Path
1.153 +1 -1 src/lib/libc/sys/Makefile.inc
1.38 +1 -0 src/lib/libc/sys/Symbol.map
1.1 +146 -0 src/lib/libc/sys/posix_fallocate.2 (new)
1.120 +12 -0 src/sys/compat/freebsd32/freebsd32_misc.c
1.138 +4 -0 src/sys/compat/freebsd32/syscalls.master
1.269 +3 -0 src/sys/kern/syscalls.master
1.163 +131 -0 src/sys/kern/vfs_default.c
1.504 +80 -0 src/sys/kern/vfs_syscalls.c
1.104 +10 -0 src/sys/kern/vnode_if.src
1.28 +4 -1 src/sys/sys/fcntl.h
1.374 +1 -0 src/sys/sys/vnode.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104181633.p3IGXgSo003739>
