+3
−0
+8
−0
Loading
Before version 0.3.111 of libaio field aio_rw_flags in struct iocb defined in libaio.h didn't exist, was defined just as __pad2. See https://pagure.io/libaio/c/a6f40 Some distros still use old libaio, SUSE Linux Enterprise Server being one of them with just released 15.7 version having general support till Jul 2031. Add simple check at the configure stage to see if libaio.h defines one of the function introduced in the 0.3.111 version, similar way as fio project does in their configure script. With this fix SPDK can be compiled and used on SLES without any out-of-distribution OS packages. Change-Id: Ia1c3ccfb77ad696e2948dd7193ebc51070d237f1 Signed-off-by:Krzysztof Goreczny <krzysztof.goreczny@dell.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26374 Reviewed-by:
Boris Glimcher <Boris.Glimcher@emc.com> Community-CI: Mellanox Build Bot Reviewed-by:
Konrad Sztyber <ksztyber@nvidia.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Amit Engel <amit.engel@dell.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com>