diff options
author | Brian Behlendorf <[email protected]> | 2012-03-27 10:10:26 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-03-27 15:08:22 -0700 |
commit | fc41c6402b46d928dcc0a07435da1716b3a33c7c (patch) | |
tree | 775992ff736b0aad698ccfce4d16f3335c60a65b /module | |
parent | 9fc60702c6679803c77939db732c294b6b6952d2 (diff) |
Properly expose the mfu ghost list kstats
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 <[email protected]>
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/arc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/arc.c b/module/zfs/arc.c index 10317b642..e9f84f504 100644 --- a/module/zfs/arc.c +++ b/module/zfs/arc.c @@ -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); |