diff options
author | Dean Deng <deandeng@google.com> | 2020-07-01 17:09:26 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-07-01 17:11:26 -0700 |
commit | 65d99855583a21b6ea511ea74aa52318d0a1e5b2 (patch) | |
tree | a4763bd90cdb8885574805f5413d4b3e4ae55c3b /pkg/sentry/fs/inode_overlay.go | |
parent | 31b27adf9b63dcefd0a753908bf984aa1f78b394 (diff) |
Port vfs1 implementation of sync_file_range to vfs2.
Currently, we always perform a full-file sync which could be extremely
expensive for some applications. Although vfs1 did not fully support
sync_file_range, there were some optimizations that allowed us skip some
unnecessary write-outs.
Updates #2923, #1897.
PiperOrigin-RevId: 319324213
Diffstat (limited to 'pkg/sentry/fs/inode_overlay.go')
0 files changed, 0 insertions, 0 deletions