Bug #11682

zpool iostat and status improvements

Added by Jerry Jelinek 5 months ago. Updated 10 days ago.

zfs - Zettabyte File System
Start date:
Due date:
% Done:


Estimated time:


Port the following from ZoL:
193a37cb243 Add -lhHpw options to "zpool iostat" for avg latency, histograms,
7e945072d18 Add request size histograms (-r) to zpool iostat, minor man page fix
410921241d0 Add -y option to `zpool iostat`
8fccfa8e17d zpool iostat should print headers when terminal fills
ad796b8a3b2 Add zpool status -s (slow I/Os) and -p (parseable)
f8bb2a7e0c8 Clarify zpool iostat statistics reporting
f23b0242b68 Fix '-T u|d' descriptions in zpool(8)
57dc41de96c Fix zpool iostat -w header names
b954e36e512 Zpool iostat: remove latency/queue scaling
eb201f50ac0 Add back iostat -y or -w descriptions
674b89342e4 Fix segfault in zpool iostat when adding VDEVs
2df9ad1c075 Fix column alignment with long zpool names
29eb4942856 Dashes for zero latency values in zpool iostat -p
5034557bdd5 Fix 'zpool iostat -v' cache and log output
272be6834c3 Fix zpool iostat bandwidth/ops calculation



Updated by Jerry Jelinek about 2 months ago

  • % Done changed from 0 to 90

Updated by Jerry Jelinek 11 days ago

For testing, I have run the zfs test suite on both DEBUG and non-DEBUG builds. This includes the new tests which all pass. In addition I have done manual testing of all of the new iostat and status subcommand options to visually verify that the output is formatted properly and looks reasonable.


Updated by Electric Monk 10 days ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit dd50e0cc4cbe1474096300fe52e9855769c0d478

commit  dd50e0cc4cbe1474096300fe52e9855769c0d478
Author: Tony Hutter <>
Date:   2020-02-13T17:45:47.000Z

    11682 zpool iostat and status improvements
    Portions contributed by: Jerry Jelinek <>
    Portions contributed by: Hajo Möller <>
    Portions contributed by: Damian Wojslaw <>
    Portions contributed by: kpande <>
    Portions contributed by: Anatoly Borodin <>
    Portions contributed by: Gregor Kopka <>
    Portions contributed by: George Melikov <>
    Portions contributed by: George G <>
    Portions contributed by: DeHackEd <>
    Reviewed by: Brian Behlendorf <>
    Reviewed by: Tim Chase <>
    Reviewed by: Joshua M. Clulow <>
    Reviewed by: Giuseppe Di Natale <>
    Reviewed by: George Melikov <>
    Reviewed by: Tony Hutter <>
    Reviewed by: Matthew Ahrens <>
    Reviewed by: Alek Pinchuk <>
    Reviewed by: Allan Jude <>
    Reviewed by: Olaf Faaland <>
    Reviewed by: loli10K <>
    Reviewed by: C Fraire <>
    Reviewed by: Andy Fiddaman <>
    Approved by: Gordon Ross <>

Also available in: Atom PDF