platform_system_core/fs_mgr/libsnapshot
Kelvin Zhang d45c50911f Fix cow v3 size estimation errors
Current cow size estimation is computed by taking the offset of next
data write. However, during COW size estimation we repeatdly increment
op_count_max. Since data section is placed right after op section,
incrementing  op_count_max has the effect of moving the beginning of
data section. next_data_pos_ is never updated in this process, causing
the final estiamte to be off.

Test: th
Bug: 313962438
Change-Id: I250dff54c470c9c20d6db33d91bac898358dee31
2023-12-05 21:27:38 -08:00
..
android/snapshot Remove the libsnapshot fuzzer. 2023-03-09 08:35:49 -08:00
include/libsnapshot Merge "Fix multiple calls to set_[source/type]" into main 2023-12-05 20:15:41 +00:00
include_test/libsnapshot libsnapshot: Remove ISnapshotWriter. 2023-06-14 12:03:58 -07:00
libsnapshot_cow Fix cow v3 size estimation errors 2023-12-05 21:27:38 -08:00
scripts Add LOCAL_LICENSE_KINDS to system/core/fs_mgr 2021-09-15 10:57:11 -07:00
snapuserd Allow direct reads on source device 2023-12-04 14:07:42 -08:00
tools libsnapshot: Add a test case for recent decompress regression. 2023-11-11 00:29:41 +00:00
Android.bp libsnapshot: Add a test case for recent decompress regression. 2023-11-11 00:29:41 +00:00
device_info.cpp Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
device_info.h Convert fastboot/libsnapshot to new BootControl client 2022-07-08 10:57:53 -07:00
dm_snapshot_internals.h libsnapshot: Use std::unordered_set in DmSnapCowSizeCalculator. 2021-07-30 11:02:28 -07:00
OWNERS Update bug component from Android Systems to OTA client 2023-08-22 10:18:47 +01:00
partition_cow_creator.cpp Merge "libsnapshot: fix integer overflow when calculating sector id." 2022-08-02 18:59:04 +00:00
partition_cow_creator.h Initialize COW options using update manifest 2023-02-23 13:21:20 -08:00
partition_cow_creator_test.cpp libsnapshot: Clarify the meaning of "compression.enabled". 2022-07-27 18:32:15 -07:00
return.cpp libsnapshot: delete WaitForMerge. 2020-03-03 13:19:49 -08:00
snapshot.cpp Merge changes from topic "ota-tune-1" into main 2023-12-04 23:53:41 +00:00
snapshot_metadata_updater.cpp Merge "libsnapshot: Properly set partial_update_" 2020-07-31 23:02:05 +00:00
snapshot_metadata_updater.h Update libsnapshot to handle partial update 2020-06-09 12:53:45 -07:00
snapshot_metadata_updater_test.cpp libsnapshot_test: skip global setup on non-VAB devices. 2020-08-06 17:21:50 -07:00
snapshot_stats.cpp libsnapshot: Add more feature flags to SnapshotMergeReport. 2022-05-25 13:40:31 -07:00
snapshot_stub.cpp libsnapshot: Remove ISnapshotWriter. 2023-06-14 12:03:58 -07:00
snapshot_test.cpp libsnapshot: Remove consistency check after merge 2023-10-16 11:32:54 -07:00
snapshotctl.cpp snapshotctl: fsync after writing every 1MB buffer 2023-11-29 11:26:46 -08:00
test_helpers.cpp libsnapshot: Remove ISnapshotWriter. 2023-06-14 12:03:58 -07:00
utility.cpp libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
utility.h libsnapshot: Fix test failures on certain configurations. 2023-03-06 23:21:25 +00:00
vts_ota_config_test.cpp Some device that platform base on android12 doesn't support A/B update, it looks virtual A/B is also not mandatory. so this test case should check ro.vendor.api_level first. 2022-09-17 06:47:02 +00:00