mariadb/tpool
Daniel Black ba9e8ebdbe MDEV-37411: Clear warnings for io_setup failure
Where io_setup fails, this is a serious issue, normally because
of the lack of fs.aio-max-nr configured in the kernel.
We adjust the error message to be a Warning, because like
"native AIO failed: falling back to innodb_use_native_aio=OFF",
its user actionable.

A default configuation of the server and indeed raising
innodb_write_io_threads and innodb_read_io_threads couldn't
exceed the default fs.aio-max-nr value. If a user is
constructing multipe instances of MariaDB that exceed this
value then they should be seeing the warning and taking action.

There are CI environments, as Otto points on on Launchpad,
that have insufficient fs.aio-max-nr configure to run mtr
in parallel. This however a genuine distro problem and
to resolve.

For us, and our developers, we'd rather see the warning
so we can fix CI and dev instances that are insufficiently
configured.

The io_setup man page as a very short but descript set of
causes for the io_setup failures. Its safer to refer to this,
now with a strerror description rather than a number.

The mtr suppressions are removed because a while ago
when the errors where moved out of InnoDB and recently
the server could never generate a warning of these forms.
2025-08-22 16:48:02 +10:00
..
aio_libaio.cc MDEV-37411: Clear warnings for io_setup failure 2025-08-22 16:48:02 +10:00
aio_liburing.cc MDEV-36753 Assertion `str[strlen(str)-1] != '\n'' failed in my_message_sql upon REPAIR .. USE_FRM with encryption enabled 2025-07-17 09:18:17 +02:00
aio_linux.cc MDEV-36482: Make libaio work WITH_MSAN=ON 2025-06-26 10:05:36 +03:00
aio_simulated.cc MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
aio_win.cc MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
CMakeLists.txt MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
task.cc MDEV-24512 fixup: Remove after_task_callback 2021-09-14 16:23:23 +03:00
task_group.cc MDEV-11026 Make InnoDB number of IO write/read threads dynamic 2022-06-27 12:00:31 +02:00
tpool.h MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
tpool_generic.cc MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
tpool_structs.h Merge 10.6 into 10.11 2023-11-22 18:14:11 +02:00
tpool_win.cc MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
wait_notification.cc tpool - misc fixes 2020-01-12 21:34:59 +01:00