Commit f023715f authored by Jan Lindström's avatar Jan Lindström

Need to disable fast file extension with posix_fallocate

for Fusion-io currently.
parent 9ba59093
......@@ -4859,6 +4859,8 @@ fil_extend_space_to_desired_size(
start_page_no = space->size;
file_start_page_no = space->size - node->size;
/* JAN: TODO: Need to disable fast file extension for Fusion-io
currently.
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
ulint n_pages = size_after_extend - start_page_no;
......@@ -4875,6 +4877,7 @@ fil_extend_space_to_desired_size(
goto complete_io;
}
#endif
*/
/* Extend at most 64 pages at a time */
buf_size = ut_min(64, size_after_extend - start_page_no) * page_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment