No description
Find a file
Akilesh Kailash 533c2f6d55 Crash during OTA merge may lead to blocks with stale data
This is a corner case wherein a crash during OTA
merge can lead to missing of some COW operations to be
merged thereby some blocks may end up with stale data.

Fix here is to avoid any re-ordering of COW operations.
Merge the COW operations as present in the COW file.

New tests have been added to cow_snapuserd.

Bug: 194955361
Test: cow_snapuserd_test, Incremental OTA
Signed-off-by: Akilesh Kailash <akailash@google.com>
Merged-In: Id895fe7a3d6b4510676490a86d0caf62dec9b079
Change-Id: I14900b9537c4deb7824547e1dfe80f15274bdda4
Ignore-AOSP-First: manual merge from aosp
2021-07-29 16:30:01 +00:00
bootstat Use libgtest_prod_headers. 2021-04-20 15:22:02 -07:00
cli-test [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
code_coverage [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
debuggerd [MTE] Add a HWASan-style tag dump to tombstones. 2021-06-29 16:17:58 -07:00
diagnose_usb [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
fastboot fastboot: support vbmeta_vendor.img 2021-06-09 03:55:01 +00:00
fs_mgr Crash during OTA merge may lead to blocks with stale data 2021-07-29 16:30:01 +00:00
gatekeeperd Keystore 2.0: Remove references to Keystore 1.0 2021-03-18 15:32:19 -07:00
healthd [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
include Remove include/backtrace symlink. 2020-10-20 12:46:14 -07:00
init Revert "init: make reboot_on_failure not apply to manually stopped services" 2021-07-22 19:46:29 -07:00
janitors
libappfuse [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libasyncio [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libbinderwrapper [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libcrypto_utils Revert "Completely migrate init first stage to Soong" 2021-07-01 06:50:40 +00:00
libcutils Revert "Add systrace tag for system property" 2021-07-22 04:52:40 +00:00
libdiskconfig [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libgrallocusage [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libkeyutils Revert "Completely migrate init first stage to Soong" 2021-07-01 06:50:40 +00:00
libmodprobe Revert "Completely migrate init first stage to Soong" 2021-07-01 06:50:40 +00:00
libnetutils [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libpackagelistparser [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libprocessgroup Merge "task_profiles.json: add taskprofile for dex2oat boot_complete policy" into sc-dev 2021-07-12 18:51:11 +00:00
libqtaguid [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libsparse [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libstats Use libgtest_prod_headers. 2021-04-20 15:22:02 -07:00
libsuspend [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libsync Replace llndk_library with llndk clause in cc_library 2021-04-21 19:13:41 -07:00
libsystem [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libsysutils [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libusbhost [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
libutils Merge "Check for overflow in String16::append and String16::insert." into sc-dev 2021-06-15 22:19:15 +00:00
libvndksupport Replace llndk_library with llndk clause in cc_library 2021-04-21 19:13:41 -07:00
llkd Merge "Add support for a hw_timeout_multiplier system property." 2021-03-17 18:18:51 +00:00
mini_keyctl Separate out libkeyutils and mini_keyctl. 2021-03-16 17:39:00 -07:00
mkbootfs Rename system/cote/cpio/ -> system/core/mkbootfs/ 2021-05-05 19:03:36 +08:00
property_service [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
reboot [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
rootdir Merge "Revert "Completely migrate init first stage to Soong"" into sc-dev 2021-07-07 03:02:01 +00:00
run-as [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
sdcard [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
set-verity-state [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
shell_and_utilities [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
storaged [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
toolbox Update owners for modprobe.c 2021-04-01 12:42:21 -07:00
trusty TrustyKeyMint: support boot, vendor patchlevels 2021-07-21 16:48:05 +01:00
usbd [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
watchdogd [LSC] Add LOCAL_LICENSE_KINDS to system/core 2021-02-19 12:59:05 -08:00
.clang-format
.clang-format-2
.clang-format-4
.gitignore
CleanSpec.mk
METADATA Add METADATA to system/core: Apache2+BSD=NOTICE 2020-04-29 13:16:41 -07:00
MODULE_LICENSE_APACHE2
OWNERS Remove baligh@ from owners. CodeShuffle done. 2020-10-17 00:28:10 +00:00
PREUPLOAD.cfg
TEST_MAPPING Clean up cc_test TEST_MAPPING after default update 2021-02-19 20:07:05 +00:00