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