diff options
author | Yifan Hong <elsk@google.com> | 2020-03-10 12:18:11 -0700 |
---|---|---|
committer | Yifan Hong <elsk@google.com> | 2020-03-12 10:00:12 -0700 |
commit | d8a38e7c230eec27ebfeaf2640765adfa508f25b (patch) | |
tree | 059ca847d5eb609fe810861a8c3a996b05582a85 /init/builtins.cpp | |
parent | f9783dc18df4b7b298762fdb15c83cf3dfc1a8f7 (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
Diffstat (limited to 'init/builtins.cpp')
0 files changed, 0 insertions, 0 deletions