Android: Add io_uring support
authorBart Van Assche <bvanassche@acm.org>
Thu, 21 Oct 2021 21:41:40 +0000 (14:41 -0700)
committerBart Van Assche <bvanassche@acm.org>
Thu, 21 Oct 2021 22:11:49 +0000 (15:11 -0700)
commitd2257a2729a23c7b1f8b92c2ac7f0a0041d38f69
tree8034d3e76995d51f648bdfff027db944ab8b8171
parent09d0a62931df0bb7ed4ae92b83a245e35d04100a
Android: Add io_uring support

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>
Makefile
os/os-android.h