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
..
2016-04-30 14:43:42 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-03-04 22:03:38 +00:00
2016-04-30 14:43:42 +00:00
2015-10-13 20:43:49 +00:00
2015-10-13 20:43:49 +00:00
2016-05-30 07:50:57 +00:00
2014-08-09 20:03:40 +00:00
2015-06-16 23:37:19 +00:00
2016-02-29 19:10:32 +00:00
2016-05-31 18:32:57 +00:00
2016-07-28 10:05:41 +00:00
2016-05-30 16:26:34 +00:00
2015-10-13 20:43:49 +00:00