summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-rpc-ops.c
diff options
context:
space:
mode:
authorVijay Bellur <vbellur@redhat.com>2013-08-06 23:02:59 -0700
committerGerrit Code Review <review@dev.gluster.org>2013-08-06 23:02:59 -0700
commitdcbd9152a67b06ddaff012a9042b50dc7b76cd0d (patch)
tree9175ec6102810eb614138ba4ea6cb03856fcbc4e /cli/src/cli-rpc-ops.c
parent042fa421843a55e2e4c8849618799f066613411c (diff)
parent62dc33d2e739079e1023a6870d9df732cebcc7e9 (diff)
Merge "glusterd, cli: Provide status of quotad in 'volume status'" into quota-improvements
Diffstat (limited to 'cli/src/cli-rpc-ops.c')
-rw-r--r--cli/src/cli-rpc-ops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 05f2e957..008b74c4 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -5987,7 +5987,8 @@ gf_cli_status_cbk (struct rpc_req *req, struct iovec *iov,
goto out;
}
- if ((cmd & GF_CLI_STATUS_NFS) || (cmd & GF_CLI_STATUS_SHD))
+ if ((cmd & GF_CLI_STATUS_NFS) || (cmd & GF_CLI_STATUS_SHD) ||
+ (cmd & GF_CLI_STATUS_QUOTAD))
notbrick = _gf_true;
ret = dict_get_int32 (dict, "count", &count);
@@ -6094,7 +6095,8 @@ gf_cli_status_cbk (struct rpc_req *req, struct iovec *iov,
*/
memset (status.brick, 0, PATH_MAX + 255);
if (!strcmp (hostname, "NFS Server") ||
- !strcmp (hostname, "Self-heal Daemon"))
+ !strcmp (hostname, "Self-heal Daemon") ||
+ !strcmp (hostname, "Quota Daemon"))
snprintf (status.brick, PATH_MAX + 255, "%s on %s",
hostname, path);
else