Skip to content

Commit

Permalink
Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kboortz committed Apr 23, 2012
2 parents 9927a07 + 57202cb commit 2b877ca
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions storage/innobase/srv/srv0start.c
Original file line number Diff line number Diff line change
Expand Up @@ -1364,10 +1364,18 @@ innobase_start_or_create_for_mysql(void)
}
# endif /* __WIN__ */

os_aio_init(io_limit,
srv_n_read_io_threads,
srv_n_write_io_threads,
SRV_MAX_N_PENDING_SYNC_IOS);
if (!os_aio_init(io_limit,
srv_n_read_io_threads,
srv_n_write_io_threads,
SRV_MAX_N_PENDING_SYNC_IOS)) {

ut_print_timestamp(stderr);
fprintf(stderr,
" InnoDB: Fatal error: cannot initialize AIO"
" sub-system\n");

return(DB_ERROR);
}

fil_init(srv_file_per_table ? 50000 : 5000,
srv_max_n_open_files);
Expand Down

0 comments on commit 2b877ca

Please sign in to comment.