pub enum InodeDataLayout {
FlatPlain,
CompressedFull,
FlatInline,
CompressedCompact,
}Expand description
The layout of the data portion of the inode.
Variants§
FlatPlain
The data union is interpreted as a block address. The data for this inode is stored in consecutive blocks starting from that block address.
CompressedFull
Compressed inode with non-compact indexes. This is a legacy metadata layout, by default erofs images use CompressedCompact for compressed nodes.
FlatInline
The data union is interpreted as a block address. The data for this inode is stored in consecutive blocks starting from that block address, except for the tail of the data which is stored immediately following this metadata. If the whole tail is inlined, the data union is unused and doesn’t matter. For this to be used, the data must have a tail section that fits within the current metadata block.
CompressedCompact
Compressed inode with compact indexes.
Trait Implementations§
Source§impl Clone for InodeDataLayout
impl Clone for InodeDataLayout
Source§fn clone(&self) -> InodeDataLayout
fn clone(&self) -> InodeDataLayout
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more