Code

zfs_arc: remove double metric
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 30 Oct 2016 10:58:51 +0000 (11:58 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 30 Oct 2016 10:58:51 +0000 (11:58 +0100)
I accidentally added prefetch_metadata_misses in 61635f3 but we
already had that metric.

Fixes #1963

src/zfs_arc.c

index 8261282a825e1fc5ea13dea2bfacf222a35b4037..c7d782c6370c7d308d1ad56ed63f942e3db5bec5 100644 (file)
@@ -319,7 +319,6 @@ static int za_read (void)
        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");