pub struct ReplayEntry {
pub transaction: u32,
pub fs_block: u64,
pub journal_block: u64,
pub flags: u32,
}Expand description
One entry in the replay plan: “during replay, fs_block should receive the contents of journal_block”. Callers wanting the actual bytes still need to read them from the journal — we only produce the plan.
Fields§
§transaction: u32Sequence number of the containing transaction.
fs_block: u64Target fs block to overwrite.
journal_block: u64Source journal block holding the new contents.
flags: u32Tag flags (ESCAPED/SAME_UUID/etc). ESCAPED means the reader must restore the first 4 bytes to the JBD2 magic before writing.
Trait Implementations§
Source§impl Clone for ReplayEntry
impl Clone for ReplayEntry
Source§impl Debug for ReplayEntry
impl Debug for ReplayEntry
impl Eq for ReplayEntry
Source§impl PartialEq for ReplayEntry
impl PartialEq for ReplayEntry
impl StructuralPartialEq for ReplayEntry
Auto Trait Implementations§
impl Freeze for ReplayEntry
impl RefUnwindSafe for ReplayEntry
impl Send for ReplayEntry
impl Sync for ReplayEntry
impl Unpin for ReplayEntry
impl UnsafeUnpin for ReplayEntry
impl UnwindSafe for ReplayEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more