From 970b22e377e20408df8646cdc61a968b55c145b1 Mon Sep 17 00:00:00 2001 From: Pranith K Date: Thu, 10 Mar 2011 02:19:20 +0000 Subject: rpc/xdr: Add gluster profile and brick op structures Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1965 (need a cmd to get io-stat details) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965 --- rpc/xdr/src/cli1-xdr.x | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'rpc/xdr/src/cli1-xdr.x') diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x index c5bd82965..61d0b8425 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -43,6 +43,13 @@ enum gf1_cli_gsync_set { GF_GSYNC_OPTION_TYPE_CONFIG_GET_ALL }; +enum gf1_cli_stats_op { + GF_CLI_STATS_NONE = 0, + GF_CLI_STATS_START = 1, + GF_CLI_STATS_STOP = 2, + GF_CLI_STATS_INFO = 3 +}; + struct gf1_cli_probe_req { string hostname<>; int port; @@ -318,3 +325,15 @@ struct gf1_cli_gsync_set_rsp { string slave<>; string gsync_prefix<>; }; + +struct gf1_cli_stats_volume_req { + string volname<>; + gf1_cli_stats_op op; +}; + +struct gf1_cli_stats_volume_rsp { + int op_ret; + int op_errno; + string op_errstr<>; + opaque stats_info<>; +}; -- cgit