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