diff options
| author | 2024-04-19 23:32:58 +0000 | |
|---|---|---|
| committer | 2024-04-20 00:46:19 +0000 | |
| commit | a56245f3901fc154d16f52dc94fdd6cffd5c564f (patch) | |
| tree | ac7c7edcf617275add41fc08dc0cd319f92047d3 /libs/androidfw/StringPool.cpp | |
| parent | bd836d4c0b0f4cd03228ebe56159202529fc5a29 (diff) | |
Block align start and length while punching holes
If hole punching offset is within block, kernel will write
zeros forcefully. Block align offset and length used for punching
to avoid unnecessary write to the disk while punching.
Test: acloud delete --all && m && acloud create --local-instance --local-image && adb logcat -c && m FileSystemUtilsTests && atest -c FileSystemUtilsTests
Bug: 301631861
Change-Id: Ib65e4fb9419125e89e9253bec769fce53304649a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions