Patchwork fix typo of block stats query cmds examples

login
register
mail settings
Submitter lvroyce@linux.vnet.ibm.com
Date June 28, 2012, 4:36 a.m.
Message ID <1340858189-7305-1-git-send-email-lvroyce@linux.vnet.ibm.com>
Download mbox | patch
Permalink /patch/168600/
State New
Headers show

Comments

lvroyce@linux.vnet.ibm.com - June 28, 2012, 4:36 a.m.
From: lvroyce <lvroyce@linux.vnet.ibm.com>


Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
---
 qmp-commands.hx |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)
Stefan Hajnoczi - July 2, 2012, 2:32 p.m.
On Thu, Jun 28, 2012 at 5:36 AM,  <lvroyce@linux.vnet.ibm.com> wrote:
> From: lvroyce <lvroyce@linux.vnet.ibm.com>
>
>
> Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>
> ---
>  qmp-commands.hx |   30 +++++++++++++++---------------
>  1 files changed, 15 insertions(+), 15 deletions(-)

Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Kevin Wolf - July 3, 2012, 12:09 p.m.
Am 28.06.2012 06:36, schrieb lvroyce@linux.vnet.ibm.com:
> From: lvroyce <lvroyce@linux.vnet.ibm.com>
> 
> 
> Signed-off-by: Royce Lv <lvroyce@linux.vnet.ibm.com>

In fact there's also a whole bunch of commas missing across all examples
touched in this patch.

Kevin

Patch

diff --git a/qmp-commands.hx b/qmp-commands.hx
index 2e1a38e..e0d0e4d 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -1420,9 +1420,9 @@  Example:
                   "wr_operations":751,
                   "rd_bytes":122567168,
                   "rd_operations":36772
-                  "wr_total_times_ns":313253456
-                  "rd_total_times_ns":3465673657
-                  "flush_total_times_ns":49653
+                  "wr_total_time_ns":313253456
+                  "rd_total_time_ns":3465673657
+                  "flush_total_time_ns":49653
                   "flush_operations":61,
                }
             },
@@ -1433,9 +1433,9 @@  Example:
                "rd_bytes":122739200,
                "rd_operations":36604
                "flush_operations":51,
-               "wr_total_times_ns":313253456
-               "rd_total_times_ns":3465673657
-               "flush_total_times_ns":49653
+               "wr_total_time_ns":313253456
+               "rd_total_time_ns":3465673657
+               "flush_total_time_ns":49653
             }
          },
          {
@@ -1447,9 +1447,9 @@  Example:
                "rd_bytes":0,
                "rd_operations":0
                "flush_operations":0,
-               "wr_total_times_ns":0
-               "rd_total_times_ns":0
-               "flush_total_times_ns":0
+               "wr_total_time_ns":0
+               "rd_total_time_ns":0
+               "flush_total_time_ns":0
             }
          },
          {
@@ -1461,9 +1461,9 @@  Example:
                "rd_bytes":0,
                "rd_operations":0
                "flush_operations":0,
-               "wr_total_times_ns":0
-               "rd_total_times_ns":0
-               "flush_total_times_ns":0
+               "wr_total_time_ns":0
+               "rd_total_time_ns":0
+               "flush_total_time_ns":0
             }
          },
          {
@@ -1475,9 +1475,9 @@  Example:
                "rd_bytes":0,
                "rd_operations":0
                "flush_operations":0,
-               "wr_total_times_ns":0
-               "rd_total_times_ns":0
-               "flush_total_times_ns":0
+               "wr_total_time_ns":0
+               "rd_total_time_ns":0
+               "flush_total_time_ns":0
             }
          }
       ]