Android: Enable the 'sg' engine
authorBart Van Assche <bvanassche@acm.org>
Tue, 4 Oct 2022 19:22:00 +0000 (12:22 -0700)
committerBart Van Assche <bvanassche@acm.org>
Tue, 4 Oct 2022 19:38:42 +0000 (12:38 -0700)
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 <bvanassche@acm.org>
Makefile

index f947f11c71eb7acc29dc40be6fa24893056ecc28..7bd572d7df0378ee6038cde0bcedfbceaa7c69f8 100644 (file)
--- 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