summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3bf760d)
raw | patch | inline | side by side (parent: 3bf760d)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 12:01:58 +0000 (14:01 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 27 Apr 2016 12:01:58 +0000 (14:01 +0200) |
src/zfs_arc.c | patch | blob | history |
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index 4204a7e7d2eac6f424a40edbb3070bc2c4d657ad..37a918b54bec75daa872ac1d40e1566af888d218 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
za_read_derive (ksp, "demand_metadata_misses", "cache_result", "demand_metadata-miss");
za_read_derive (ksp, "prefetch_data_misses", "cache_result", "prefetch_data-miss");
za_read_derive (ksp, "prefetch_metadata_misses", "cache_result", "prefetch_metadata-miss");
+ za_read_derive (ksp, "mfu_hits", "cache_result", "mfu-hit");
+ za_read_derive (ksp, "mfu_ghost_hits", "cache_result", "mfu_ghost-hit");
+ za_read_derive (ksp, "mru_hits", "cache_result", "mru-hit");
+ za_read_derive (ksp, "mru_ghost_hits", "cache_result", "mru_ghost-hit");
+ za_read_derive (ksp, "prefetch_metadata_misses", "cache_result", "prefetch_metadata-miss");
/* Ratios */
arc_hits = (gauge_t) get_zfs_value(ksp, "hits");