From b9076b3c362fd5084a152eb6e09b15df80354661 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Otto=20Kek=C3=A4l=C3=A4inen?= Date: Thu, 7 Aug 2025 21:30:51 -0700 Subject: [PATCH] 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 --- storage/innobase/os/os0file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2