HomeFreeBSD

ffs: Support O_DSYNC.

Description

ffs: Support O_DSYNC.

Respect the new IO_DATASYNC flag when performing synchronous writes.
Compared to O_SYNC, O_DSYNC lets us skip updating the inode in some
cases, matching the behaviour of fdatasync(2).

Reviewed by: kib
Differential Review: https://reviews.freebsd.org/D25160

Details

Provenance
tmunroAuthored on Jan 7 2021, 10:50 AM
Parents
rGa5e284038edc: open(2): Add O_DSYNC flag.
Branches
Unknown
Tags
Unknown