commit | 11913f35ef64bc6b8d08f280e96fad1df5f556d7 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Tue Mar 10 12:18:11 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Thu Mar 12 10:00:12 2020 -0700 |
tree | 059ca847d5eb609fe810861a8c3a996b05582a85 | |
parent | e374c1c83fadc66947bb79cf4e71c16f54978123 [diff] |
Add OptimizeSourceCopyOperation ... so that an operation can be skipped partially. For example, if an operation contains blocks: 563412 -> 123456 ... then optimized operation is: 5612 -> 1256 Test: update_engine_unittests Test: apply incremental OTA Bug: 148623880 In an experiment, this reduces CoW size of an incremental update package by 200MB (out of 700MB). Change-Id: I86ca23fd589ddbc84c81318283b5f4e71782a759 Merged-In: I86ca23fd589ddbc84c81318283b5f4e71782a759