]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 226217,227070,227341,227502:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2012 19:32:39 +0000 (19:32 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2012 19:32:39 +0000 (19:32 +0000)
commit1b4aa0e446b9e96b790f0fa73ab691c15541a9f6
treee76f7749d56cdaf1dadf7d91ffd411d0a1e4482a
parent791c8e67273f60341b0084ea67a9c3a584539aff
MFC 226217,227070,227341,227502:
Add the posix_fadvise(2) system call.  It is somewhat similar to
madvise(2) except that it operates on a file descriptor instead of a
memory region.  It is currently only supported on regular files.

Note that this adds a new VOP, so all filesystem modules must be
recompiled.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/8@229725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
21 files changed:
UPDATING
lib/libc/sys/Makefile.inc
lib/libc/sys/Symbol.map
lib/libc/sys/madvise.2
lib/libc/sys/posix_fadvise.2 [new file with mode: 0644]
sys/compat/freebsd32/freebsd32_misc.c
sys/compat/freebsd32/syscalls.master
sys/kern/syscalls.master
sys/kern/vfs_default.c
sys/kern/vfs_subr.c
sys/kern/vfs_syscalls.c
sys/kern/vfs_vnops.c
sys/kern/vnode_if.src
sys/sys/fcntl.h
sys/sys/file.h
sys/sys/param.h
sys/sys/syscallsubr.h
sys/sys/unistd.h
sys/sys/vnode.h
sys/vm/vm_object.c
sys/vm/vm_object.h