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

_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to