pub struct DiskIoStats {
pub read_bytes: u64,
pub write_bytes: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub write_buffer_bytes: usize,
pub read_cache_bytes: usize,
pub pool_entries: usize,
pub prefetch_count: u64,
pub eviction_count: u64,
pub skeleton_count: u64,
}Expand description
Aggregate I/O statistics for a disk backend.
Fields§
§read_bytes: u64Total bytes read from storage.
write_bytes: u64Total bytes written to storage.
cache_hits: u64Number of read requests satisfied from cache.
cache_misses: u64Number of read requests that required disk access.
write_buffer_bytes: usizeCurrent size of the write buffer in bytes.
read_cache_bytes: usizeCurrent size of the read cache in bytes (M102).
pool_entries: usizeTotal number of entries in the buffer pool (M102).
prefetch_count: u64Number of prefetch insertions into the read cache (M102).
eviction_count: u64Number of ARC evictions from the read cache (M102).
skeleton_count: u64Number of Writing-to-Skeleton demotions (M102).
Trait Implementations§
Source§impl Clone for DiskIoStats
impl Clone for DiskIoStats
Source§fn clone(&self) -> DiskIoStats
fn clone(&self) -> DiskIoStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiskIoStats
impl Debug for DiskIoStats
Source§impl Default for DiskIoStats
impl Default for DiskIoStats
Source§fn default() -> DiskIoStats
fn default() -> DiskIoStats
Returns the “default value” for a type. Read more
Source§impl From<DiskIoStats> for DiskStats
impl From<DiskIoStats> for DiskStats
Source§fn from(s: DiskIoStats) -> Self
fn from(s: DiskIoStats) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DiskIoStats
impl RefUnwindSafe for DiskIoStats
impl Send for DiskIoStats
impl Sync for DiskIoStats
impl Unpin for DiskIoStats
impl UnsafeUnpin for DiskIoStats
impl UnwindSafe for DiskIoStats
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