e3c68b
From 808f311bd4f38f06b8afc49fc8d2c65fc4797431 Mon Sep 17 00:00:00 2001
e3c68b
From: kshithijiyer <kshithij.ki@gmail.com>
e3c68b
Date: Fri, 28 Jun 2019 15:32:31 +0530
e3c68b
Subject: [PATCH 332/335] Removing one top command from gluster v help
e3c68b
e3c68b
The current help show 2 different top commands
e3c68b
intead of one single top command which can be
e3c68b
easily observed when "# gluster v help" command
e3c68b
is issued. Removing one "volume top <VOLNAME>"
e3c68b
and clubbing into them into a single command.
e3c68b
e3c68b
Current help:
e3c68b
volume top <VOLNAME> {open|read|write|opendir|readdir|clear}
e3c68b
[nfs|brick <brick>] [list-cnt <value>] |
e3c68b
volume top <VOLNAME> {read-perf|write-perf}
e3c68b
[bs <size> count <count>] [brick <brick>]
e3c68b
[list-cnt <value>] - volume top operations
e3c68b
e3c68b
Expected help:
e3c68b
volume top <VOLNAME> {open|read|write|opendir|readdir|clear}
e3c68b
[nfs|brick <brick>] [list-cnt <value>] | {read-perf|write-perf}
e3c68b
[bs <size> count <count>] [brick <brick>] [list-cnt <value>]
e3c68b
- volume top operations
e3c68b
e3c68b
> upstream patch: https://review.gluster.org/#/c/glusterfs/+/22972/
e3c68b
> fixes: bz#1725034
e3c68b
> Change-Id: Ifbc4c95f2558286e27dfc5e9667046b80eb1715d
e3c68b
> Signed-off-by: kshithijiyer <kshithij.ki@gmail.com>
e3c68b
e3c68b
BUG: 1726058
e3c68b
Change-Id: Ifbc4c95f2558286e27dfc5e9667046b80eb1715d
e3c68b
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
e3c68b
Reviewed-on: https://code.engineering.redhat.com/gerrit/185757
e3c68b
Tested-by: RHGS Build Bot <nigelb@redhat.com>
e3c68b
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
e3c68b
---
e3c68b
 cli/src/cli-cmd-volume.c | 4 ++--
e3c68b
 1 file changed, 2 insertions(+), 2 deletions(-)
e3c68b
e3c68b
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
e3c68b
index 66beb1b..754d333 100644
e3c68b
--- a/cli/src/cli-cmd-volume.c
e3c68b
+++ b/cli/src/cli-cmd-volume.c
e3c68b
@@ -3427,8 +3427,8 @@ struct cli_cmd volume_cmds[] = {
e3c68b
      cli_cmd_volume_profile_cbk, "volume profile operations"},
e3c68b
 
e3c68b
     {"volume top <VOLNAME> {open|read|write|opendir|readdir|clear} [nfs|brick "
e3c68b
-     "<brick>] [list-cnt <value>] |\n"
e3c68b
-     "volume top <VOLNAME> {read-perf|write-perf} [bs <size> count <count>] "
e3c68b
+     "<brick>] [list-cnt <value>] | "
e3c68b
+     "{read-perf|write-perf} [bs <size> count <count>] "
e3c68b
      "[brick <brick>] [list-cnt <value>]",
e3c68b
      cli_cmd_volume_top_cbk, "volume top operations"},
e3c68b
 
e3c68b
-- 
e3c68b
1.8.3.1
e3c68b