78 lines
2.2 KiB
Diff
78 lines
2.2 KiB
Diff
From 880364a83e4c7a7e379136056d63346cbdd7c2f0 Mon Sep 17 00:00:00 2001
|
|
From: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
|
Date: Sun, 30 Jul 2023 18:58:08 -0700
|
|
Subject: [PATCH] qapi/block: Tidy up block-latency-histogram-set documentation
|
|
mainline inclusion commit e893b9e3b3a6029384253f768cdc06969732e517 category:
|
|
bugfix
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
---------------------------------------------------------------
|
|
|
|
Examples come out like
|
|
|
|
Example
|
|
|
|
set new histograms for all io types with intervals [0, 10), [10,
|
|
50), [50, 100), [100, +inf):
|
|
|
|
The sentence "set new histograms ..." starts with a lower case letter.
|
|
Capitalize it. Same for the other examples.
|
|
|
|
Signed-off-by: Markus Armbruster <armbru@redhat.com>
|
|
Message-ID: <20230720071610.1096458-3-armbru@redhat.com>
|
|
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
|
|
Signed-off-by: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
|
---
|
|
qapi/block.json | 12 ++++++++----
|
|
1 file changed, 8 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/qapi/block.json b/qapi/block.json
|
|
index 82fcf2c914..71136db777 100644
|
|
--- a/qapi/block.json
|
|
+++ b/qapi/block.json
|
|
@@ -529,7 +529,8 @@
|
|
# Since: 4.0
|
|
#
|
|
# Example:
|
|
-# set new histograms for all io types with intervals
|
|
+
|
|
+# Set new histograms for all io types with intervals
|
|
# [0, 10), [10, 50), [50, 100), [100, +inf):
|
|
#
|
|
# -> { "execute": "block-latency-histogram-set",
|
|
@@ -538,7 +539,8 @@
|
|
# <- { "return": {} }
|
|
#
|
|
# Example:
|
|
-# set new histogram only for write, other histograms will remain
|
|
+
|
|
+# Set new histogram only for write, other histograms will remain
|
|
# not changed (or not created):
|
|
#
|
|
# -> { "execute": "block-latency-histogram-set",
|
|
@@ -547,7 +549,8 @@
|
|
# <- { "return": {} }
|
|
#
|
|
# Example:
|
|
-# set new histograms with the following intervals:
|
|
+
|
|
+# Set new histograms with the following intervals:
|
|
# read, flush: [0, 10), [10, 50), [50, 100), [100, +inf)
|
|
# write: [0, 1000), [1000, 5000), [5000, +inf)
|
|
#
|
|
@@ -558,7 +561,8 @@
|
|
# <- { "return": {} }
|
|
#
|
|
# Example:
|
|
-# remove all latency histograms:
|
|
+
|
|
+# Remove all latency histograms:
|
|
#
|
|
# -> { "execute": "block-latency-histogram-set",
|
|
# "arguments": { "id": "drive0" } }
|
|
--
|
|
2.41.0.windows.1
|
|
|