summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/gofer/fs.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-10-16 14:29:20 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-16 15:01:23 -0700
commitfd4e43600242c4929269afd529a8c1de4681e62e (patch)
tree6f7dd1ec886116cc91a646555536f8f590a70dac /pkg/sentry/fs/gofer/fs.go
parentbbdcf44ebbf1e001a134c9412719891f150befd6 (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/fs/gofer/fs.go')
0 files changed, 0 insertions, 0 deletions