pub struct DiskStats {
pub read_bytes: u64,
pub write_bytes: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub write_buffer_bytes: usize,
pub queued_jobs: usize,
pub read_cache_bytes: usize,
pub pool_entries: usize,
pub prefetch_count: u64,
pub eviction_count: u64,
pub skeleton_count: u64,
}Expand description
Disk I/O performance counters.
Fields§
§read_bytes: u64Total bytes read from disk.
write_bytes: u64Total bytes written to disk.
cache_hits: u64Number of read requests served from cache.
cache_misses: u64Number of read requests that required disk I/O.
write_buffer_bytes: usizeCurrent size of the write buffer in bytes.
queued_jobs: usizeNumber of pending disk I/O jobs in the queue.
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<'de> Deserialize<'de> for DiskStats
impl<'de> Deserialize<'de> for DiskStats
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 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 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