Thomas Munro a5e284038e open(2): Add O_DSYNC flag.
POSIX O_DSYNC means that writes include an implicit fdatasync(2), just
as O_SYNC implies fsync(2).

VOP_WRITE() functions that understand the new IO_DATASYNC flag can act
accordingly, but we'll still pass down IO_SYNC so that file systems that
don't understand it will continue to provide the stronger O_SYNC
behaviour.

Flag also applies to fcntl(2).

Reviewed by: kib, delphij
Differential Revision: https://reviews.freebsd.org/D25090
2021-01-08 13:15:56 +13:00
..
2021-01-02 19:57:58 -07:00
2021-01-07 09:26:21 +00:00
2021-01-08 13:15:56 +13:00
2021-01-07 15:35:20 -04:00
2021-01-07 17:05:30 -07:00
2020-12-23 14:37:05 -04:00
2021-01-08 13:15:56 +13:00
2020-09-17 22:29:38 +00:00
2020-11-04 12:07:33 +00:00
2021-01-07 22:26:05 +01:00
2021-01-08 13:15:56 +13:00
2021-01-03 06:50:06 +00:00