MDEV-24685 fixup: Remove srv_n_file_io_threads

The variable was not really being used for anything. The parameters
innodb_read_io_threads, innodb_write_io_threads have replaced
innodb_file_io_threads.
This commit is contained in:
Marko Mäkelä 2022-12-16 17:08:56 +02:00
commit b8f4b984f9
3 changed files with 1 additions and 22 deletions

View file

@ -2091,7 +2091,6 @@ static bool innodb_init_param()
srv_buf_pool_size = (ulint) xtrabackup_use_memory;
srv_buf_pool_chunk_unit = (ulong)srv_buf_pool_size;
srv_n_file_io_threads = (uint) innobase_file_io_threads;
srv_n_read_io_threads = (uint) innobase_read_io_threads;
srv_n_write_io_threads = (uint) innobase_write_io_threads;
@ -4486,7 +4485,6 @@ fail:
xb_filters_init();
xb_fil_io_init();
srv_n_file_io_threads = srv_n_read_io_threads;
if (os_aio_init()) {
msg("Error: cannot initialize AIO subsystem");
@ -5965,12 +5963,6 @@ static bool xtrabackup_prepare_func(char** argv)
fil_system.freeze_space_list = 0;
/* increase IO threads */
if (srv_n_file_io_threads < 10) {
srv_n_read_io_threads = 4;
srv_n_write_io_threads = 4;
}
msg("Starting InnoDB instance for recovery.");
msg("mariabackup: Using %lld bytes for buffer pool "