HomeFreeBSD

Add zpool status -s (slow I/Os) and -p (parseable)

Description

Add zpool status -s (slow I/Os) and -p (parseable)

This patch adds a new slow I/Os (-s) column to zpool status to show the
number of VDEV slow I/Os. This is the number of I/Os that didn't
complete in zio_slow_io_ms milliseconds. It also adds a new parsable
(-p) flag to display exact values.

 	NAME         STATE     READ WRITE CKSUM  SLOW
 	testpool     ONLINE       0     0     0     -
	  mirror-0   ONLINE       0     0     0     -
 	    loop0    ONLINE       0     0     0    20
 	    loop1    ONLINE       0     0     0     0

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7756
Closes #6885

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Nov 9 2018, 12:47 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Nov 9 2018, 12:47 AM
Parents
rG877d925a9e81: Update zfs_admin_snapshot value (disabled)
Branches
Unknown
Tags
Unknown