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