Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e2362bb authored by Daniel Zheng's avatar Daniel Zheng Committed by Android (Google) Code Review
Browse files

Merge changes Id6e80fec,I73498c9e into main

* changes:
  add warning for using o_direct
  add option to disable verification
parents 9699afdf 4451609d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -42,6 +42,7 @@ PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.xor.enabled?=true
# device's .mk file improve performance for low mem devices.
#
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.read_ahead_size=16
# warning: enabling o_direct on devices with low CMA could lead to failures
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.o_direct.enabled=true
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.merge_thread_priority=19
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.worker_thread_priority=0
@@ -52,6 +53,16 @@ PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.xor.enabled?=true
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.verify_threshold_size=1073741824
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.verify_block_size=1048576


# Enabling this property will skip verification post OTA reboot.
# Verification allows the device to safely roll back if any boot failures
# are detected.  If the verification is disabled, update_verifier to will
# try to verify using bufferred read if care_map.pb is present in
# /metadata/ota/. This will increase the boot time and may also impact
# memory usage as all the blocks in dynamic partitions are read into page-cache.
# If care_map.pb isn't present, update-verifier will skip the verification.
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.skip_verification =true

# Enabling this property, will improve OTA install time
# but will use an additional CPU core
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true