freebsd-skq/sys/compat
Konstantin Belousov 295af703a0 Add an implementation of fdatasync(2).
The syscall is a trivial wrapper around new VOP_FDATASYNC(), sharing
code with fsync(2).  For all filesystems, this commit provides the
implementation which delegates the work of VOP_FDATASYNC() to
VOP_FSYNC().  This is functionally correct but not efficient.

This is not yet POSIX-compliant implementation, because it does not
ensure that queued AIO requests are completed before returning.

Reviewed by:	mckusick
Discussed with:	avg (ZFS), jhb (AIO part)
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D7471
2016-08-15 19:08:51 +00:00
..
cloudabi Provide the CloudABI vDSO to its executables. 2016-08-10 21:02:41 +00:00
cloudabi64 Provide the CloudABI vDSO to its executables. 2016-08-10 21:02:41 +00:00
freebsd32 Add an implementation of fdatasync(2). 2016-08-15 19:08:51 +00:00
ia32 Implement vsyscall hack. Prior to 2.13 glibc uses vsyscall 2016-01-09 20:18:53 +00:00
linprocfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
linsysfs Add support to the jail framework to be able to mount linsysfs(5) and 2015-07-19 08:52:35 +00:00
linux Fix a copy/paste bug introduced during X86_64 Linuxulator work. 2016-07-10 08:22:04 +00:00
linuxkpi/common Add a missing error check for a malloc() call in idr_get(). 2016-06-14 03:57:00 +00:00
ndis ndis(4): Undo unneeded workarounds in ndis' rand(). 2016-05-22 14:13:20 +00:00
netbsd
svr4 Don't create pointless backups of generated files in "make sysent". 2016-07-28 21:29:04 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00