Properly expose the mfu ghost list kstats
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Mar 2012 17:10:26 +0000 (10:10 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 27 Mar 2012 22:08:22 +0000 (15:08 -0700)
Due to a typo the mru ghost lists stats were accidentally being
exposed as the mfu ghost list stats.  This was harmless but
confusing since memory usage could be over reported.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
module/zfs/arc.c

index 10317b6..e9f84f5 100644 (file)
@@ -3708,7 +3708,7 @@ arc_kstat_update(kstat_t *ksp, int rw)
                    &as->arcstat_mfu_size,
                    &as->arcstat_mfu_evict_data,
                    &as->arcstat_mfu_evict_metadata);
-               arc_kstat_update_state(arc_mru_ghost,
+               arc_kstat_update_state(arc_mfu_ghost,
                    &as->arcstat_mfu_ghost_size,
                    &as->arcstat_mfu_ghost_evict_data,
                    &as->arcstat_mfu_ghost_evict_metadata);