Enum libzetta::zfs::properties::RedundantMetadata
source · #[repr(u64)]pub enum RedundantMetadata {
All,
Most,
}
Expand description
Controls what types of metadata are stored redundantly
Variants§
All
ZFS stores an extra copy of all metadata. If a single on-disk block is corrupt, at worst a single block of user data (which is recordsize bytes long can be lost.)
Most
ZFS stores an extra copy of most types of metadata. This can improve performance of random writes, because less metadata must be written. In practice, at worst about 100 blocks (of recordsize bytes each) of user data can be lost if a single on-disk block is corrupt.
Trait Implementations§
source§impl AsRef<str> for RedundantMetadata
impl AsRef<str> for RedundantMetadata
source§impl Clone for RedundantMetadata
impl Clone for RedundantMetadata
source§fn clone(&self) -> RedundantMetadata
fn clone(&self) -> RedundantMetadata
Returns a copy 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 RedundantMetadata
impl Debug for RedundantMetadata
source§impl Default for RedundantMetadata
impl Default for RedundantMetadata
source§impl Display for RedundantMetadata
impl Display for RedundantMetadata
source§impl FromStr for RedundantMetadata
impl FromStr for RedundantMetadata
source§impl PartialEq<RedundantMetadata> for RedundantMetadata
impl PartialEq<RedundantMetadata> for RedundantMetadata
source§fn eq(&self, other: &RedundantMetadata) -> bool
fn eq(&self, other: &RedundantMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<&str> for RedundantMetadata
impl TryFrom<&str> for RedundantMetadata
impl Copy for RedundantMetadata
impl Eq for RedundantMetadata
impl StructuralEq for RedundantMetadata
impl StructuralPartialEq for RedundantMetadata
Auto Trait Implementations§
impl RefUnwindSafe for RedundantMetadata
impl Send for RedundantMetadata
impl Sync for RedundantMetadata
impl Unpin for RedundantMetadata
impl UnwindSafe for RedundantMetadata
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