pub struct CheckpointPagedLog<R, D> { /* private fields */ }Expand description
Optional atomic journal replacement over three exclusive device values. Root data is unused; its two metadata slots select one complete page bank. Bank identities bind each reuse to a distinct monotone root epoch. Neither extraction nor destruction flushes pending records. A failed I/O fences this owner; reopen all devices to discover its actual durable state. Destruction drops both banks before the root, following device destructors.
Implementations§
Source§impl<R: PageDevice, D: PageDevice> CheckpointPagedLog<R, D>
impl<R: PageDevice, D: PageDevice> CheckpointPagedLog<R, D>
Source§impl<R: PageDevice, D: PageDevice> CheckpointPagedLog<R, D>
impl<R: PageDevice, D: PageDevice> CheckpointPagedLog<R, D>
Sourcepub fn inspect(
root: &mut R,
banks: &mut [D; 2],
max_pages: u64,
) -> Result<Vec<String>, LinkError>
pub fn inspect( root: &mut R, banks: &mut [D; 2], max_pages: u64, ) -> Result<Vec<String>, LinkError>
Read the complete selected prefix without initialization, truncation, identity allocation or repair completion. Devices remain borrowed. Checked mirror reads may stage volatile repairs: discard those wrappers if higher-level semantic validation fails. Inspecting does not close any device or change the existing opening constructors’ recovery behavior.