platform_system_core/fs_mgr/libsnapshot
Alessio Balsini cd3915d2e7 Utility class to measure snapshot merge duration
With the Virtual A/B feature, when the device successfully boots after an OTA
update, a dm-snapshot merge operation is performed, which consolidates the
updated images to the base devices.  This merge operation depends on the OTA
size and may affect the device performance until completed.
Create the SnapshotMergeStats class that takes care of measuring the duration
of a merge operation and manages the merge state file to continue tracking the
merge in the case of an interruption due to a reboot.

Bug: 138817833
Test: m
Change-Id: I9dcf1423716c89d8f9b4a0feb4e75bb7b9d18935
Signed-off-by: Alessio Balsini <balsini@google.com>
2020-02-17 16:36:36 +00:00
..
android/snapshot Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
include/libsnapshot Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
include_test/libsnapshot SnapshotManager::Return -> Return 2020-01-17 14:43:27 -08:00
Android.bp Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
OWNERS Add balsini@ as libsnapshot owner 2020-01-09 10:11:45 +00:00
device_info.cpp libsnapshot: Restrict when snapshots can be deleted. 2020-02-05 17:16:17 -08:00
device_info.h libsnapshot: Add a helper for handling data wipes in recovery. 2019-11-10 23:07:11 -08:00
dm_snapshot_internals.h pragma once for header file 2019-10-28 16:38:35 +00:00
partition_cow_creator.cpp SOURCE_COPY operation: implement src == dst 2019-12-02 14:58:17 -08:00
partition_cow_creator.h PartitionCowCreator accounts for extra extents 2019-12-02 12:49:38 -08:00
partition_cow_creator_test.cpp libsnapshot: add library for test helpers 2019-12-06 17:42:40 -08:00
return.cpp SnapshotManager::WaitForMerge gives more info 2020-01-21 13:34:55 -08:00
snapshot.cpp snapshot: helper to get access snapshot_state path 2020-02-14 20:49:08 +00:00
snapshot_metadata_updater.cpp libsnapshot: Add snapshot metadata updater. 2019-09-17 12:55:23 -07:00
snapshot_metadata_updater.h libsnapshot: Add snapshot metadata updater. 2019-09-17 12:55:23 -07:00
snapshot_metadata_updater_test.cpp Skip snapshot tests for non-Virtual A/B devices 2020-01-30 16:23:27 +00:00
snapshot_stats.cpp Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
snapshot_stats.h Utility class to measure snapshot merge duration 2020-02-17 16:36:36 +00:00
snapshot_test.cpp Merge "Add libsnapshot_test to presubmit" 2020-02-06 16:58:43 +00:00
snapshotctl.cpp snapshotctl logs readable by dumpstate 2020-02-11 10:57:51 -08:00
snapshotctl.rc Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00
test_helpers.cpp ImageManager returns FiemapStatus. 2020-01-07 13:01:58 -08:00
utility.cpp Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00
utility.h Make snapshotctl logging better. 2020-02-04 14:01:24 -08:00