]> granicus.if.org Git - zfs/commit
Minor code cleanup in arc_summary.py
authorScot W. Stevenson <scot.stevenson@gmail.com>
Fri, 3 Nov 2017 22:43:53 +0000 (23:43 +0100)
committerTony Hutter <hutter2@llnl.gov>
Tue, 30 Jan 2018 16:27:30 +0000 (10:27 -0600)
commit03f638a8efe4f8e5901fc0e07fad5604e2550f22
treee0ec55982f2a709384851d76b5671358815ed48b
parent5dc25de668ce8c4e43ebd8c589202392297699b9
Minor code cleanup in arc_summary.py

Simplify and inline single-use function div1(); inline twice-used
function div2(); add function comment to zfs_header(); replace
variable "unused" in get_Kstat() with "_" following convention.

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 #6802
cmd/arc_summary/arc_summary.py