Mark pages as dirty (called on writes).
(&mut self, count: usize)
| 59 | |
| 60 | /// Mark pages as dirty (called on writes). |
| 61 | pub fn mark_dirty(&mut self, count: usize) { |
| 62 | self.dirty_pages += count; |
| 63 | } |
| 64 | |
| 65 | /// Compute how many pages to flush this tick. |
| 66 | pub fn pages_to_flush(&self, config: &CheckpointConfig) -> usize { |