]> git.proxmox.com Git - mirror_zfs.git/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)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 23 Oct 2017 21:18:12 +0000 (14:18 -0700)
commit64b8c58e3e49dcca107c2f53dd5cc7208ee6f405
treed5078b94b14c19a7b52945410b1aa72488ae976d
parent63e5e960bad6f6c7d8eeb8273988ec7fd10f0a60
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