cli, glusterd: Cleanup logging of bd op commands.
This patch prevents messages of the form "bd op: %s : SUCCESS" from being logged in .cmd_log_history. Change-Id: Iebeb7e26d409bf99b9c8df0a5c1c5a5d30d78a61 BUG: 823081 Signed-off-by: Vijay Bellur <vbellur@redhat.com> Reviewed-on: http://review.gluster.org/4871 Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: M. Mohan Kumar <mohan@in.ibm.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
This commit is contained in:
parent
412940c56e
commit
d16cdf141d
@ -3031,10 +3031,10 @@ gf_cli_bd_op (call_frame_t *frame, xlator_t *this,
|
||||
&req.dict.dict_len);
|
||||
|
||||
|
||||
ret = cli_cmd_submit (&req, frame, cli_rpc_prog,
|
||||
GLUSTER_CLI_BD_OP, NULL,
|
||||
this, gf_cli_bd_op_cbk,
|
||||
(xdrproc_t) xdr_gf_cli_req);
|
||||
ret = cli_to_glusterd (&req, frame, gf_cli_bd_op_cbk,
|
||||
(xdrproc_t)xdr_gf_cli_req, dict,
|
||||
GLUSTER_CLI_BD_OP, this, cli_rpc_prog,
|
||||
NULL);
|
||||
|
||||
out:
|
||||
if (dict)
|
||||
|
@ -1146,7 +1146,6 @@ __glusterd_handle_cli_bd_op (rpcsvc_request_t *req)
|
||||
|
||||
ret = glusterd_op_begin (req, GD_OP_BD_OP, dict, op_errstr,
|
||||
sizeof (op_errstr));
|
||||
gf_cmd_log ("bd op: %s", ((ret == 0) ? "SUCCESS": "FAILED"));
|
||||
out:
|
||||
if (ret && dict)
|
||||
dict_unref (dict);
|
||||
|
Loading…
x
Reference in New Issue
Block a user