freebsd-dev/sys/ufs
Konstantin Belousov 3f7ca894de Ensure that ftruncate(2) is performed synchronously when file is
opened in O_SYNC mode, at least for UFS.  This also handles
truncation, done due to the O_SYNC | O_TRUNC flags combination to
open(2), in synchronous way.

Noted by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-05-18 12:03:57 +00:00
..
ffs Do enable io accounting for read-only mounts and mounts which are 2016-05-17 21:35:35 +00:00
ufs Ensure that ftruncate(2) is performed synchronously when file is 2016-05-18 12:03:57 +00:00