Skip to content

Commit

Permalink
DOSE-522 add zcache iostat subcommand (openzfs#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Don Brady authored Jan 7, 2022
1 parent e74a804 commit 4b385bb
Show file tree
Hide file tree
Showing 15 changed files with 1,167 additions and 58 deletions.
111 changes: 89 additions & 22 deletions cmd/zfs_object_agent/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions cmd/zfs_object_agent/util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
arr_macro = "0.1.3"
async-trait = "0.1.51"
backtrace = "0.3"
bytes = "1.0"
chrono = "0.4.19"
config = "0.11"
enum-map = { version = "1.1.1", features = ["serde"] }
lazy_static = "1.4.0"
log = "0.4"
log4rs = "1.0.0"
more-asserts = "0.2.1"
num-traits = "0.2.14"
rand = "0.8.3"
roaring = "0.7.0"
serde = { version = "1.0.125", features = ["derive"] }
Expand Down
3 changes: 2 additions & 1 deletion cmd/zfs_object_agent/util/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ mod range_tree;
mod tunable;
mod vec_ext;
mod zcache_devices;
pub mod zettacache_stats;

pub use bitmap_range_iterator::BitmapRangeIterator;
pub use btreemap_ext::iter_wrapping;
Expand All @@ -24,7 +25,7 @@ pub use lock_set::LockSet;
pub use lock_set::LockedItem;
pub use logging::setup_logging;
pub use mutex_ext::MutexExt;
pub use nicenum::nice_p2size;
pub use nicenum::{nice_number_count, nice_number_time, nice_p2size};
pub use range_tree::RangeTree;
pub use tunable::get_tunable;
pub use tunable::read_tunable_config;
Expand Down
Loading

0 comments on commit 4b385bb

Please sign in to comment.