]> granicus.if.org Git - zfs/commit
Ensure arc_size_break is filled in arc_summary.py
authorGiuseppe Di Natale <dinatale2@users.noreply.github.com>
Mon, 23 Oct 2017 21:18:12 +0000 (14:18 -0700)
committerTony Hutter <hutter2@llnl.gov>
Mon, 20 Nov 2017 22:19:23 +0000 (16:19 -0600)
commit029a1b0c207f204b1b78086b009c6de8fc383cb3
treeb7b93d7cb1783e8c5afe9dd30b3a2d39b47a8729
parentc45254b0ecccd7e9b26b84fe605cdb87901f3ba9
Ensure arc_size_break is filled in arc_summary.py

Use mfu_size and mru_size pulled from the arcstats
kstat file to calculate the mfu and mru percentages
for arc size breakdown.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: AndCycle <andcycle@andcycle.idv.tw>
Signed-off-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Closes #5526
Closes #6770
cmd/arc_summary/arc_summary.py