From 6a2ecfdb4befef491e13106598517889f9793e4c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 4 Oct 2022 12:22:00 -0700 Subject: [PATCH] Android: Enable the 'sg' engine Make it possible to use the 'sg' engine on Android. This engine has been verified on Android by running fio --verify=md5 on top of a scsi_debug instance. Signed-off-by: Bart Van Assche --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f947f11c..7bd572d7 100644 --- a/Makefile +++ b/Makefile @@ -249,7 +249,8 @@ endif endif ifeq ($(CONFIG_TARGET_OS), Android) SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c profiles/tiobench.c \ - oslib/linux-dev-lookup.c engines/io_uring.c engines/nvme.c + oslib/linux-dev-lookup.c engines/io_uring.c engines/nvme.c \ + engines/sg.c cmdprio_SRCS = engines/cmdprio.c ifdef CONFIG_HAS_BLKZONED SOURCE += oslib/linux-blkzoned.c -- 2.25.1