7 May
2015
7 May
'15
6:14 a.m.
Xiaofei -
Does InnoDB maintain a dirty page table?
You must be referring to the buffer pool flush_list.
Is fsync called to guarantee the page to be on persistent storage so that the dirty page table can be updated? If this is the case, when is the dirty page table updated for asynchronous IOs?
Check buf_flush_write_complete in buf0flu.cc. For async IO it is called from buf_page_io_complete in buf0buf.cc. -- Laurynas