pub struct DiskStats {Show 28 fields
pub blocks: usize,
pub bytes: u64,
pub disk_bytes: u64,
pub queue_depth: usize,
pub writes: u64,
pub queued_writes: u64,
pub inline_writes: u64,
pub write_failures: u64,
pub write_skipped: u64,
pub write_raced_eviction: u64,
pub write_nanos: u64,
pub hits: u64,
pub buffer_hits: u64,
pub misses: u64,
pub corrupt: u64,
pub incompatible: u64,
pub read_nanos: u64,
pub evictions: u64,
pub evicted_bytes: u64,
pub prefetch_issued: u64,
pub prefetch_dropped: u64,
pub prefetch_hits: u64,
pub prefetch_waits: u64,
pub async_reads: u64,
pub staged_blocks: usize,
pub enospc: u64,
pub space_clamped: u64,
pub effective_capacity: u64,
}Expand description
A snapshot of the tier’s behaviour. Note the two time-valued fields: hit rate alone cannot tell an operator whether a disk hit was cheaper than recomputing the prefix, which is the only question that decides whether the tier is worth having.
Fields§
§blocks: usize§bytes: u64Everything the store has accepted, published or still buffered.
disk_bytes: u64The subset that has actually reached the filesystem.
queue_depth: usize§writes: u64§queued_writes: u64§inline_writes: u64§write_failures: u64§write_skipped: u64§write_raced_eviction: u64§write_nanos: u64§hits: u64§buffer_hits: u64§misses: u64§corrupt: u64§incompatible: u64§read_nanos: u64§evictions: u64§evicted_bytes: u64§prefetch_issued: u64§prefetch_dropped: u64§prefetch_hits: u64§prefetch_waits: u64§async_reads: u64§staged_blocks: usize§enospc: u64§space_clamped: u64§effective_capacity: u64The ceiling eviction is currently working to: max_bytes, or
less when free disk says so.
Trait Implementations§
impl Eq for DiskStats
impl StructuralPartialEq for DiskStats
Auto Trait Implementations§
impl Freeze for DiskStats
impl RefUnwindSafe for DiskStats
impl Send for DiskStats
impl Sync for DiskStats
impl Unpin for DiskStats
impl UnsafeUnpin for DiskStats
impl UnwindSafe for DiskStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more