This patch has been tested on a recent Android phone. Compilation of this
patch has been verified as follows:
NDK=/usr/lib/android-ndk
export LIBS="-landroid"
export UNAME=Android
for ((i=23;i<=30;i++)); do
echo "==== i = $i ===="
export CC=$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android${i}-clang
[ -e "$CC" ] || continue
./configure && make -j$(nproc) fio || break
done
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
endif
ifeq ($(CONFIG_TARGET_OS), Android)
SOURCE += diskutil.c fifo.c blktrace.c cgroup.c trim.c profiles/tiobench.c \
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
+ oslib/linux-dev-lookup.c engines/io_uring.c
ifdef CONFIG_HAS_BLKZONED
SOURCE += oslib/linux-blkzoned.c
endif
ifdef CONFIG_HAS_BLKZONED
SOURCE += oslib/linux-blkzoned.c
endif
+#ifndef RWF_UNCACHED
+#define RWF_UNCACHED 0x00000040
+#endif
+