Comment 2 for bug 1255628

Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote :

Jan -

Thank you for the bug report and the patch provided.

Looking at which, what about the case where HAVE_POSIX_FALLOCATE is defined but server is running with srv_use_posix_fallocate == FALSE? Then we'd perform actual writes to extend the tablespace but with the patch applied end up calling fil_node_complete_io() with OS_FILE_READ instead of OS_FILE_WRITE? It looks to me that "if (srv_use_posix_fallocate)" guard is required there too?