pub struct RafsConfigV2 {
pub mode: String,
pub batch_size: usize,
pub validate: bool,
pub enable_xattr: bool,
pub iostats_files: bool,
pub access_pattern: bool,
pub latest_read_files: bool,
pub prefetch: PrefetchConfigV2,
}Expand description
Configuration information for RAFS filesystem.
Fields§
§mode: StringFilesystem metadata cache mode.
batch_size: usizeBatch size to read data from storage cache layer.
validate: boolWhether to validate data digest.
enable_xattr: boolEnable support of extended attributes.
iostats_files: boolRecord file operation metrics for each file.
Better to keep it off in production environment due to possible resource consumption.
access_pattern: boolRecord filesystem access pattern.
latest_read_files: boolRecord file name if file access trace log.
prefetch: PrefetchConfigV2Filesystem prefetching configuration.
Implementations§
Trait Implementations§
Source§impl Clone for RafsConfigV2
impl Clone for RafsConfigV2
Source§fn clone(&self) -> RafsConfigV2
fn clone(&self) -> RafsConfigV2
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RafsConfigV2
impl Debug for RafsConfigV2
Source§impl Default for RafsConfigV2
impl Default for RafsConfigV2
Source§fn default() -> RafsConfigV2
fn default() -> RafsConfigV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RafsConfigV2
impl<'de> Deserialize<'de> for RafsConfigV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RafsConfigV2
impl PartialEq for RafsConfigV2
Source§impl Serialize for RafsConfigV2
impl Serialize for RafsConfigV2
impl Eq for RafsConfigV2
impl StructuralPartialEq for RafsConfigV2
Auto Trait Implementations§
impl Freeze for RafsConfigV2
impl RefUnwindSafe for RafsConfigV2
impl Send for RafsConfigV2
impl Sync for RafsConfigV2
impl Unpin for RafsConfigV2
impl UnwindSafe for RafsConfigV2
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