freebsd-dev/sys
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
..
amd64 The pmap_delayed_invl_wait() function blocks on turnstile, it does not 2016-08-11 12:37:11 +00:00
arm Correct the size of the softc in a10_ehci 2016-08-14 13:17:59 +00:00
arm64 Add the ARMv8.1 identification registers to the list we print when booting. 2016-08-15 09:23:08 +00:00
boot Add defines needed to export SMBIOS serial numbers 2016-08-12 19:47:20 +00:00
bsm
cam cam/da: Add quirk for I-O Data USB Flash Disk 2016-08-11 03:12:56 +00:00
cddl fix a zfs cross-device rename crash introduced in r303763 2016-08-09 06:11:24 +00:00
compat Add an implementation of fdatasync(2). 2016-08-15 19:08:51 +00:00
conf Unbreak LINT build. 2016-08-15 04:59:38 +00:00
contrib Consistently use device_t 2016-08-09 19:32:06 +00:00
crypto Connect the SHA-512t256 and Skein hashing algorithms to ZFS 2016-05-31 04:12:14 +00:00
ddb In ddb ps, left justify the non-numeric fields 'state' and 'wmesg' and 2016-08-14 15:26:40 +00:00
dev Fix restoring the kbd_mode part of the keyboard state in grab/ungrab. 2016-08-15 18:02:37 +00:00
fs Update the nfsstats structure to include the changes needed by 2016-08-12 22:44:59 +00:00
gdb
geom Do not invoke resize event if initial disk size is zero. Some disks 2016-08-01 20:54:54 +00:00
gnu Revert changes for local testing, inadvertantly commited in r300811. 2016-05-26 23:59:42 +00:00
i386 Remove duplicate definition of get_pcb_td(). gcc works for detecting 2016-08-15 10:46:33 +00:00
isa sys/isa: minor spelling fixes. 2016-05-03 21:51:52 +00:00
kern Add an implementation of fdatasync(2). 2016-08-15 19:08:51 +00:00
kgssapi kgssapi: insignificant spelling fix. 2016-05-03 22:05:03 +00:00
libkern sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
mips Consistently use device_t 2016-08-09 19:32:06 +00:00
modules Add ipfw_nat64 module that implements stateless and stateful NAT64. 2016-08-13 16:09:49 +00:00
net Update iflib to support more NIC designs 2016-08-12 21:29:44 +00:00
net80211 sys: replace comma with semicolon when pertinent. 2016-08-09 19:42:20 +00:00
netgraph Avoid panic from ng_uncallout when unpluggin ethernet cable with active 2016-08-08 19:31:01 +00:00
netinet Ensure that sctp_it_ctl.cur_it does not point to a free object (during 2016-08-15 10:16:08 +00:00
netinet6 Add ipfw_nat64 module that implements stateless and stateful NAT64. 2016-08-13 16:09:49 +00:00
netipsec Get closer to a VIMAGE network stack teardown from top to bottom rather 2016-06-21 13:48:49 +00:00
netnatm
netpfil Fix command: ipfw set (enable|disable) N (where N > 4). 2016-08-15 13:06:29 +00:00
netsmb sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
nfs Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
nfsclient
nfsserver
nlm When sleeping waiting for either local or remote advisory lock, 2016-06-26 20:08:42 +00:00
ofed mthca: Add a wrapper for the firmware's DIAG_RPRT command. 2016-08-05 21:34:09 +00:00
opencrypto opencrypto AES-ICM: Fix heap corruption typo 2016-08-01 22:57:03 +00:00
pc98 Move 'device pci' for the PCI bus driver to the MI NOTES file. 2016-04-29 23:53:55 +00:00
powerpc Return 0 instead of an error code on failure to find dcsr. 2016-08-14 04:11:36 +00:00
riscv o Remove operation in machine mode. 2016-08-10 12:41:36 +00:00
rpc Hide the boottime and bootimebin globals, provide the getboottime(9) 2016-07-27 11:08:59 +00:00
security Add AUE_WAIT6 handling to the BSM conversion switch statement, reusing 2016-07-11 13:06:17 +00:00
sparc64 sys: replace comma with semicolon when pertinent. 2016-08-09 19:42:20 +00:00
sys Update iflib to support more NIC designs 2016-08-12 21:29:44 +00:00
teken
tests
tools Consider CROSS_BINUTILS_PREFIX environment variable so we use correct 2016-08-10 13:49:17 +00:00
ufs Replace all remaining calls to vprint(9) with vn_printf(9), and remove 2016-08-10 16:12:31 +00:00
vm Eliminate unneeded vm_page_xbusy() and vm_page_xunbusy() operations when 2016-08-14 22:00:45 +00:00
x86 sys: replace comma with semicolon when pertinent. 2016-08-09 19:42:20 +00:00
xdr
xen xen: Correct typo in #undef for symbol NBPL 2016-06-06 14:55:46 +00:00
Makefile