From 91ba7f3c997272da222cea144d9abb5b288a289b Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Mon, 29 Aug 2022 18:02:25 +0000 Subject: [PATCH] Enable io_uring in fastbootd for gs101 This feature was recently added, but guarded with a sysprop. Enable it on gs101 first. Will enable it on other devices once it stablizes. Bug: 31712568 Test: m updatepackage, then flash the image to device Change-Id: Iaad9591d1a51c306839580d7eb9b4d3289a1b5af --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index d9546987..2afc6f86 100644 --- a/device.mk +++ b/device.mk @@ -579,6 +579,10 @@ PRODUCT_PACKAGES += \ $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/compression_with_xor.mk) + +# Enable usage of io_uring in fastbootd +PRODUCT_VENDOR_PROPERTIES += sys.usb.ffs.io_uring_enabled=true + # Enforce generic ramdisk allow list $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)