diff options
author | 2023-12-20 18:53:39 +0000 | |
---|---|---|
committer | 2024-01-03 18:58:36 +0000 | |
commit | 7e0689862ab045327374985711f8d43cffdee271 (patch) | |
tree | 195a66faa82cce6a72c96270e2a813f5c208af5c /compiler/optimizing/linearize_test.cc | |
parent | 722f631379eb12438a630fe8960923fc91d86c5e (diff) |
Preserve file sparsity in FdFile::Copy
Use lseek SEEK_DATA / SEEK_HOLE in FdFile::Copy to avoid writing empty
blocks. This helps to save disk space on file systems that support
sparse files.
Test: art/tools/run-gtests.sh
Change-Id: Idb9202f4b9473c79225a9301bebd495c80bd6558
Diffstat (limited to 'compiler/optimizing/linearize_test.cc')
0 files changed, 0 insertions, 0 deletions