pub enum InlineRef {
TreeBlockBackref {
ref_offset: u64,
root: u64,
},
SharedBlockBackref {
ref_offset: u64,
parent: u64,
},
ExtentDataBackref {
ref_offset: u64,
root: u64,
objectid: u64,
offset: u64,
count: u32,
},
SharedDataBackref {
ref_offset: u64,
parent: u64,
count: u32,
},
ExtentOwnerRef {
ref_offset: u64,
root: u64,
},
}Expand description
Inline reference types found inside EXTENT_ITEM/METADATA_ITEM.
Variants§
TreeBlockBackref
Direct backref from a metadata extent to the tree that owns it.
The root field is the tree objectid (e.g. 5 for FS_TREE).
Fields
Shared backref from a metadata extent via a parent tree block. Used when a tree block is shared between snapshots.
ExtentDataBackref
Backref from a data extent to a specific file inode. Stores the owning root, inode number, file offset, and reference count.
Fields
Shared backref from a data extent via a parent tree block. Used when data extents are shared between snapshots.
ExtentOwnerRef
Simple ownership reference for an extent (simple_quota feature).
Records which tree root owns the extent.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InlineRef
impl RefUnwindSafe for InlineRef
impl Send for InlineRef
impl Sync for InlineRef
impl Unpin for InlineRef
impl UnsafeUnpin for InlineRef
impl UnwindSafe for InlineRef
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