pub struct RescueClearInoCacheCommand { /* private fields */ }Expand description
Remove leftover items pertaining to the deprecated inode cache feature
For every fs tree (the default subvolume and every user
subvolume), walks the items keyed under
BTRFS_FREE_INO_OBJECTID (and historically also
BTRFS_FREE_SPACE_OBJECTID, which old kernels used for the
per-inode cache bitmap), drops every referenced data extent via
the delayed-ref queue, and deletes the items themselves. The
transaction crate’s data-ref drop path also trims the csum tree
for any fully-freed extent.
The device must not be mounted.
Trait Implementations§
Source§impl Args for RescueClearInoCacheCommand
impl Args for RescueClearInoCacheCommand
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for RescueClearInoCacheCommand
impl Debug for RescueClearInoCacheCommand
Source§impl FromArgMatches for RescueClearInoCacheCommand
impl FromArgMatches for RescueClearInoCacheCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Parser for RescueClearInoCacheCommand
impl Parser for RescueClearInoCacheCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for RescueClearInoCacheCommand
impl RefUnwindSafe for RescueClearInoCacheCommand
impl Send for RescueClearInoCacheCommand
impl Sync for RescueClearInoCacheCommand
impl Unpin for RescueClearInoCacheCommand
impl UnsafeUnpin for RescueClearInoCacheCommand
impl UnwindSafe for RescueClearInoCacheCommand
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