commit | f72860ce18e30b7167bcb4854cca7195587d8844 | [log] [tgz] |
---|---|---|
author | Akilesh Kailash <akailash@google.com> | Tue Feb 08 19:55:39 2022 +0000 |
committer | Akilesh Kailash <akailash@google.com> | Tue Feb 08 20:00:39 2022 +0000 |
tree | 2150438165094556aafe6b18b5cbc02a8d5d14f6 | |
parent | d183371cda26fd5b8a1d0dd25cbd84c1c76721e1 [diff] |
Enable io_uring feature for virtual A/B OTA snapuserd: Use io_uring READ/WRITE opcodes for snapshot merge. Specifically, it is used only for readahead and ordered ops code path. Snapshot merge perf: =========================================================== Incremental OTA of 300M between two git_master branches on Pixel 6: =========================================================== On Android S (with dm-snapshot): ~15 minutes: update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted. update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 926508ms (resumed 0 times), using 0 bytes of COW image. =========================================================== On Android T (with io_uring: ~38 seconds): update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted. update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 38868ms (resumed 0 times), using 0 bytes of COW image. =========================================================== Bug: 202784286 Test: Full/Incremental OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: Ia6efff32898cdc6b683ca49c233ef45e8cd732e7
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.