Suppress native AIO warning introduced in 10.8.3
authorOtto Kekäläinen <otto@debian.org>
Fri, 8 Aug 2025 04:30:51 +0000 (21:30 -0700)
committerOtto Kekäläinen <otto@debian.org>
Tue, 26 Aug 2025 16:05:45 +0000 (09:05 -0700)
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

index f3c04027077b3a7ea33bdb4f2b8397788f01e802..d69fe9af83b809848869f7adeea5c976e9632be2 100644 (file)
@@ -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