| Submitter | Pranith K |
|---|---|
| Date | 2011-04-13 04:10:14 |
| Message ID | <1302667814-6255-1-git-send-email-pranithk@gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/6837/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index eb3e32d..3ebe5f5 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -3143,7 +3143,12 @@ glusterd_handle_cli_profile_volume (rpcsvc_request_t *req) dict_copy (tmp_dict, dict); + gf_cmd_log ("Volume stats", "volume : %s, op: %d", cli_req.volname, + cli_req.op); ret = glusterd_op_begin (req, cli_op, dict, _gf_true); + gf_cmd_log ("Volume stats", " on volume %s, op: %d %s ", + cli_req.volname, cli_req.op, + ((ret == 0)? " SUCCEDED":" FAILED")); out: glusterd_friend_sm ();