diff options
author | Nicolas Lacasse <nlacasse@google.com> | 2019-10-16 14:29:20 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-16 15:01:23 -0700 |
commit | fd4e43600242c4929269afd529a8c1de4681e62e (patch) | |
tree | 6f7dd1ec886116cc91a646555536f8f590a70dac /pkg/sentry/mm/io.go | |
parent | bbdcf44ebbf1e001a134c9412719891f150befd6 (diff) |
Support O_SYNC and O_DSYNC flags.
When any of these flags are set, all writes will trigger a subsequent fsync
call. This behavior already existed for "write-through" mounts.
O_DIRECT is treated as an alias for O_SYNC. Better support coming soon.
PiperOrigin-RevId: 275114392
Diffstat (limited to 'pkg/sentry/mm/io.go')
0 files changed, 0 insertions, 0 deletions