mariadb: use liburing if kernel supports it
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 4 Nov 2021 17:23:03 +0000 (14:23 -0300)
committerEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 4 Nov 2021 18:12:58 +0000 (15:12 -0300)
commita3cec3e410687beb4ecefd614269c9f5f8923c06
tree6eaaec83c1d77770dc307dd2cb7acd30c6ac72e5
parent6bc9ec549dba57384970e9f0d0f40a80a35c4a57
mariadb: use liburing if kernel supports it

liburing is preferred over libaio.  So, if liburing has already been
built, mariadb will use it, instead of libaio, failing with a missed
dependency.  If it is not found, then libaio is used.

Since it depends on the kernel being built with io_uring support, and it
defaults to y unless SMALL_FLASH=y, then we should allow libaio as
fallback, checking the CONFIG_KERNEL_IO_URING symbol.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
utils/mariadb/Makefile