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 /test/syscalls | |
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 'test/syscalls')
-rw-r--r-- | test/syscalls/BUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/syscalls/BUILD b/test/syscalls/BUILD index 67645cc83..790190273 100644 --- a/test/syscalls/BUILD +++ b/test/syscalls/BUILD @@ -962,6 +962,7 @@ syscall_test( syscall_test( add_overlay = True, test = "//test/syscalls/linux:sync_file_range_test", + vfs2 = "True", ) syscall_test( |