Comment 11 for bug 379264

Revision history for this message
MadMatt (yonkovim) wrote :

Walking through the fil_io functions, the only function that reads directly from the datafiles without going through the normal process is fil_write_lsn_and_arch_no_to_file, I verified this is only called on startup in my failure scenario.

Another function I looked at is buf_flush_write_block_low which calls:

      if (!srv_use_doublewrite_buf || !trx_doublewrite) {
                 fprintf(stderr,"fil_io write without dblewrite \n");

                fil_io(OS_FILE_WRITE | OS_AIO_SIMULATED_WAKE_LATER,
                       FALSE, block->space, block->offset, 0, UNIV_PAGE_SIZE,
                       (void*)block->frame, (void*)block);
        } else {
                buf_flush_post_to_doublewrite_buf(block);
        }
}

This was called during startup, but not later on... so I think i can rule this out.