Struct btrfs_diskformat::RootItem [−][src]
Defines the location and parameters of the root of a b-tree.
Fields
inode: InodeItemgeneration: U64<LE>root_dirid: U64<LE>bytenr: U64<LE>byte_limit: U64<LE>Currently unused. Always 0.
bytes_used: U64<LE>Currently unused.
last_snapshot: U64<LE>The transaction ID of the last transaction that created a snapshot of this root.
flags: U64<LE>refs: U32<LE>Only 0 or 1. Historically contained a reference count.
drop_progress: KeyContains the key of the last dropped item during subvolume removal or relocation.
Value will be zeroed out otherwise.
drop_level: u8The tree level of the node referenced in drop_progress.
level: u8The height of this root’s tree.
generation_v2: U64<LE>Value to help determine whether this root has been modified by an older btrfs implementation.
If the value is equal to generation, the fields below are valid. Otherwise, this indicates the fields are invalid but recoverable.
uuid: UuidBytesThe subvolume’s UUID.
parent_uuid: UuidBytesThe parent’s subvolume UUID.
This is used during send/receive.
received_uuid: UuidBytesThe received UUID.
This is used during send/receive.
ctransid: U64<LE>The transaction ID of the last transaction that modified the tree.
Note: some operations like internal caches or relocation will not update this value.
otransid: U64<LE>The transaction ID of the transaction that created the tree.
stransid: U64<LE>The transaction ID for the transaction that sent this subvolume.
This value is non-zero for a received subvolume.
rtransid: U64<LE>The transaction ID for the transaction that received this subvolume.
This value is non-zero for a received subvolume.
ctime: TimeThe timestamp of the ctransid.
otime: TimeThe timestamp of the otransid.
stime: TimeThe timestamp of the stransid.
rtime: TimeThe timestamp of the rtransid.
_unused: [u64; 8]Currently unused. Reserved for future use.
Trait Implementations
impl AsBytes for RootItem[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
pub fn as_bytes(&self) -> &[u8][src]
pub fn as_bytes_mut(&mut self) -> &mut [u8] where
Self: FromBytes, [src]
Self: FromBytes,
impl Clone for RootItem[src]
impl Copy for RootItem[src]
impl Debug for RootItem[src]
impl FromBytes for RootItem[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
impl Unaligned for RootItem[src]
fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for RootItem
impl Send for RootItem
impl Sync for RootItem
impl Unpin for RootItem
impl UnwindSafe for RootItem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,