From: Bart Van Assche Date: Tue, 4 Oct 2022 19:22:00 +0000 (-0700) Subject: Android: Enable the 'sg' engine X-Git-Tag: fio-3.33~27^2 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=6a2ecfdb4befef491e13106598517889f9793e4c 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 --- 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