commit | a56245f3901fc154d16f52dc94fdd6cffd5c564f | [log] [tgz] |
---|---|---|
author | Pawan Wagh <waghpawan@google.com> | Fri Apr 19 23:32:58 2024 +0000 |
committer | Pawan Wagh <waghpawan@google.com> | Sat Apr 20 00:46:19 2024 +0000 |
tree | ac7c7edcf617275add41fc08dc0cd319f92047d3 | |
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