]> granicus.if.org Git - zfs/commit
Rewrite fHits() in arc_summary.py with SI units
authorScot W. Stevenson <scot.stevenson@gmail.com>
Sat, 4 Nov 2017 20:33:28 +0000 (21:33 +0100)
committerTony Hutter <hutter2@llnl.gov>
Tue, 30 Jan 2018 16:27:30 +0000 (10:27 -0600)
commit88e4e0d5dd1800add5191633d65797ce1c2eb4cf
tree9339bbc8aff8bc0f2af09acc83a74d18093e80a1
parent03f638a8efe4f8e5901fc0e07fad5604e2550f22
Rewrite fHits() in arc_summary.py with SI units

Complete rewrite of fHits(). Move units from non-standard English
abbreviations to SI units, thereby avoiding confusion because of
"long scale" and "short scale" numbers. Remove unused parameter
"Decimal". Add function string. Aim to confirm to PEP8.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Scot W. Stevenson <scot.stevenson@gmail.com>
Closes #6815
cmd/arc_summary/arc_summary.py