freebsd-nq/cmd/zpool
Tony Hutter 1528bfdb14 Don't run 'zpool iostat -c CMD' command on all vdevs, if vdevs specified
zpool iostat allows you to specify only certain vdevs to display.
Currently, if you run 'zpool iostat -c CMD vdev1 vdev2 ...'
on specific vdevs, it will actually run the command on *all* vdevs,
and just display the results for the vdevs you specify.  This patch
corrects the behavior to only run the command on the specified vdevs,
and also enables the zpool_iostat_005_pos.ksh tests.
    
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #5443
2016-12-16 16:10:45 -08:00
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Add -lhHpw options to "zpool iostat" for avg latency, histograms, & queues 2016-05-12 12:36:32 -07:00
zpool_iter.c Don't run 'zpool iostat -c CMD' command on all vdevs, if vdevs specified 2016-12-16 16:10:45 -08:00
zpool_main.c Don't run 'zpool iostat -c CMD' command on all vdevs, if vdevs specified 2016-12-16 16:10:45 -08:00
zpool_util.c Add -lhHpw options to "zpool iostat" for avg latency, histograms, & queues 2016-05-12 12:36:32 -07:00
zpool_util.h Don't run 'zpool iostat -c CMD' command on all vdevs, if vdevs specified 2016-12-16 16:10:45 -08:00
zpool_vdev.c Fix coverity defects: CID 147639 2016-10-10 15:30:22 -07:00