diff options
author | Tony Hutter <[email protected]> | 2019-01-31 10:51:18 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-01-31 10:51:18 -0800 |
commit | 57dc41de96c46a6cc037bfb3b81a7d5e9aa2ea5b (patch) | |
tree | 7ab532ce2bf05711b79f2e6eb14ad234a3f1e201 /cmd/zpool | |
parent | 6c926f426a26ffb6d7d8e563e33fc176164175cb (diff) |
Fix zpool iostat -w header names
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tony Hutter <[email protected]>
Closes #8338
Diffstat (limited to 'cmd/zpool')
-rw-r--r-- | cmd/zpool/zpool_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 733af559b..68723a0e2 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -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}}, |