Merge "Updating comments on cow layout" into main am: 1b52ac6efe

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2754949

Change-Id: I137135d6473e83c79dcdc9ed016ef8d61050cba0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Daniel Zheng 2023-09-19 17:41:26 +00:00 committed by Automerger Merge Worker
commit 822c758b84

View file

@ -49,7 +49,9 @@ static constexpr uint32_t kDefaultCowVersion = 2;
// | Footer (fixed) |
// +-----------------------+
//
// The operations begin immediately after the header, and the "raw data"
// After the header is a 2mb scratch space that is used to read ahead data during merge operations
//
// The operations begin immediately after the scratch space, and the "raw data"
// immediately follows the operation which refers to it. While streaming
// an OTA, we can immediately write the op and data, syncing after each pair,
// while storing operation metadata in memory. At the end, we compute data and