]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Fix zpool iostat -w header names
authorTony Hutter <hutter2@llnl.gov>
Thu, 31 Jan 2019 18:51:18 +0000 (10:51 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 31 Jan 2019 18:51:18 +0000 (10:51 -0800)
The zpool iostat latency histograms (-w) has column names
'sync_queue' and 'async_queue', which do not match the man page, nor
the equivalent columns in average latency.  Change the column
names to be 'syncq_wait' and 'asyncq_wait' to be consistent.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #8338

cmd/zpool/zpool_main.c

index 733af559b88cac91fa3ff0985b57f1fd58e0593d..68723a0e2a8f8e7d3c8daf12a3d253cffa3dc89a 100644 (file)
@@ -3371,8 +3371,8 @@ static const name_and_columns_t iostat_top_labels[][IOSTAT_MAX_LABELS] =
        [IOS_QUEUES] = {{"syncq_read", 2}, {"syncq_write", 2},
            {"asyncq_read", 2}, {"asyncq_write", 2}, {"scrubq_read", 2},
            {NULL}},
-       [IOS_L_HISTO] = {{"total_wait", 2}, {"disk_wait", 2},
-           {"sync_queue", 2}, {"async_queue", 2}, {NULL}},
+       [IOS_L_HISTO] = {{"total_wait", 2}, {"disk_wait", 2}, {"syncq_wait", 2},
+           {"asyncq_wait", 2}, {NULL}},
        [IOS_RQ_HISTO] = {{"sync_read", 2}, {"sync_write", 2},
            {"async_read", 2}, {"async_write", 2}, {"scrub", 2}, {NULL}},