From: Otto Kekäläinen Date: Fri, 8 Aug 2025 04:30:51 +0000 (-0700) Subject: Suppress native AIO warning introduced in 10.8.3 X-Git-Tag: archive/raspbian/1%11.8.3-0+deb13u1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b9076b3c362fd5084a152eb6e09b15df80354661;p=mariadb.git Suppress native AIO warning introduced in 10.8.3 Upstream a87bb96 introduced a new warning, visible at least on all ppc64el and s390x builds which makes the post-build mariadb-test-test fail: [Warning] InnoDB: native AIO failed: falling back to innodb_use_native_aio=OFF Unlike upstream MariaDB, in Debian we removed libaio in for Linux on MariaDB 10.6+ in 612630c6 and completely in 1d648d6f. Thus the build will not have libaio at all on any platform in Debian, and the warning is useless. This might not be the optimal solution, but at least suppressing the warning will unblock the 11.8.3 release for now. Forwarded: https://jira.mariadb.org/browse/MDEV-37411 Gbp-Pq: Name MDEV-37411-suppress-new-warning-about-native-aio.patch --- diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index f3c040270..d69fe9af8 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -3091,7 +3091,7 @@ int os_aio_init() noexcept if (ret) { srv_use_native_aio= false; - sql_print_warning("InnoDB: native AIO failed: falling back to" + sql_print_information("InnoDB: native AIO failed: falling back to" " innodb_use_native_aio=OFF"); } else