]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC 227070,227341,227502:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2012 19:29:16 +0000 (19:29 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 6 Jan 2012 19:29:16 +0000 (19:29 +0000)
commit948d4e8de176176f4b0e52a2eba039fd276c7a12
treebdf55f69f609ff1fc42236586b7c127a4f6ac530
parent9baa1f8b351ec3d134dd11625e1cfa3fcf03e538
MFC 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/9@229723 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