From 57dc41de96c46a6cc037bfb3b81a7d5e9aa2ea5b Mon Sep 17 00:00:00 2001 From: Tony Hutter Date: Thu, 31 Jan 2019 10:51:18 -0800 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Signed-off-by: Tony Hutter Closes #8338 --- cmd/zpool/zpool_main.c | 4 ++-- 1 file 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}}, -- 2.39.2