Enum libzetta::zpool::properties::FailMode
source · pub enum FailMode {
Wait,
Continue,
Panic,
}
Expand description
Controls the system behavior in the event of catastrophic pool failure.
Variants§
Wait
Blocks all I/O access until the device connectivity is recovered and the errors are cleared. This is the default behavior.
Continue
Returns EIO to any new write I/O requests but allows reads to any of the remaining healthy devices. Any write requests that have yet to be committed to disk would be blocked.
Panic
Prints out a message to the console and generates a system crash dump.
Trait Implementations§
source§impl PartialEq<FailMode> for FailMode
impl PartialEq<FailMode> for FailMode
impl Eq for FailMode
impl StructuralEq for FailMode
impl StructuralPartialEq for FailMode
Auto Trait Implementations§
impl RefUnwindSafe for FailMode
impl Send for FailMode
impl Sync for FailMode
impl Unpin for FailMode
impl UnwindSafe for FailMode
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