pub struct FreedBlocks {
pub data_runs: Vec<FreeRun>,
pub indirect_blocks: Vec<u64>,
}Expand description
Lists a truncate-to-zero produces:
data_runs: data blocks, coalesced into contiguous runs (caller frees via the block bitmap;start..start+lenclears one bitmap range).indirect_blocks: every indirect-tree block reachable from the inode (single block freed each — they’re rarely contiguous with each other or with the data, so leaving them as singletons is correct).
Fields§
§data_runs: Vec<FreeRun>§indirect_blocks: Vec<u64>Trait Implementations§
Source§impl Clone for FreedBlocks
impl Clone for FreedBlocks
Source§impl Debug for FreedBlocks
impl Debug for FreedBlocks
Auto Trait Implementations§
impl Freeze for FreedBlocks
impl RefUnwindSafe for FreedBlocks
impl Send for FreedBlocks
impl Sync for FreedBlocks
impl Unpin for FreedBlocks
impl UnsafeUnpin for FreedBlocks
impl UnwindSafe for FreedBlocks
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