src/tools/disks/zfs.rs: helper to read zfs pool io stats

This commit is contained in:
Dietmar Maurer
2020-05-28 10:07:52 +02:00
parent 3eeba68785
commit 0146133b4b
2 changed files with 49 additions and 0 deletions

View File

@ -16,6 +16,8 @@ use proxmox::sys::error::io_err_other;
use proxmox::sys::linux::procfs::MountInfo;
use proxmox::{io_bail, io_format_err};
pub mod zfs;
bitflags! {
/// Ways a device is being used.
pub struct DiskUse: u32 {