From 6c171a69b2b826c73006fe75489ee689d6f54161 Mon Sep 17 00:00:00 2001 From: Akilesh Kailash Date: Mon, 28 Feb 2022 06:29:50 +0000 Subject: [PATCH] Enable Async merge during OTA If the async merge has a temporary failure, gracefully fallback to synchronous I/O without failing the OTA merge. Bug: 220991038 Test: 1: OTA on CF pre-submit runs 2: OTA on O6, R4 and Bramble with the following flow on TP builds: BUILD-1 (without-this-patch) -> BUILD-2 (with this patch) -> BUILD-3 (with this patch) Verified the failure path of async merge on all three devices Signed-off-by: Akilesh Kailash Change-Id: I0b499d2cc81f44c74f85745f9165b81d0ce34eba --- target/product/virtual_ab_ota/compression.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/product/virtual_ab_ota/compression.mk b/target/product/virtual_ab_ota/compression.mk index 88c58b87a0..d5bd2a5395 100644 --- a/target/product/virtual_ab_ota/compression.mk +++ b/target/product/virtual_ab_ota/compression.mk @@ -18,6 +18,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_ven PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.enabled=true PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.userspace.snapshots.enabled=true +PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.io_uring.enabled=true PRODUCT_VIRTUAL_AB_COMPRESSION := true PRODUCT_PACKAGES += \ snapuserd.vendor_ramdisk \