mariadb/tpool
Marko Mäkelä f24b738318 MDEV-24313 (2 of 2): Silently ignored innodb_use_native_aio=1
In commit 5e62b6a5e0 (MDEV-16264)
the logic of os_aio_init() was changed so that it will never fail,
but instead automatically disable innodb_use_native_aio (which is
enabled by default) if the io_setup() system call would fail due
to resource limits being exceeded. This is questionable, especially
because falling back to simulated AIO may lead to significantly
reduced performance.

srv_n_file_io_threads, srv_n_read_io_threads, srv_n_write_io_threads:
Change the data type from ulong to uint.

os_aio_init(): Remove the parameters, and actually return an error code.

thread_pool::configure_aio(): Do not silently fall back to simulated AIO.

Reviewed by: Vladislav Vaintroub
2020-12-14 15:27:03 +02:00
..
aio_linux.cc Clarify some comments. 2020-11-30 16:46:06 +01:00
aio_simulated.cc MDEV-16264: Minor cleanup 2019-12-03 11:05:18 +02:00
aio_win.cc
CMakeLists.txt MDEV-16264 - some improvements 2019-12-09 21:12:13 +01:00
task.cc MDEV-21674 purge_sys.stop() fails to wait for purge workers to complete 2020-02-07 08:12:58 +02:00
task_group.cc tpool - implement post-task callback (for Innodb debugging) 2020-01-12 19:08:02 +01:00
tpool.h MDEV-24313 (2 of 2): Silently ignored innodb_use_native_aio=1 2020-12-14 15:27:03 +02:00
tpool_generic.cc Simplify clang workarounds. 2020-12-07 10:35:57 +01:00
tpool_structs.h MDEV-21326 : Address TSAN warnings in tpool. 2020-01-12 20:30:26 +01:00
tpool_win.cc tpool - implement post-task callback (for Innodb debugging) 2020-01-12 19:08:02 +01:00
wait_notification.cc tpool - misc fixes 2020-01-12 21:34:59 +01:00