From ae578f0c6518afd22cf13c21eebca203352774d3 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 1 Mar 2011 03:36:45 +0000 Subject: gluster rebalance: get the proper/exact error msg to cli introduce a new field in XDR structure, and hence change the version of program. Signed-off-by: Amar Tumballi Signed-off-by: Anand V. Avati BUG: 1922 (Volume not present wrong message displayed on command line) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1922 --- rpc/xdr/src/cli1-xdr.x | 11 +++++++++++ 1 file changed, 11 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 0e18c6ab..c5bd8296 100644 --- a/rpc/xdr/src/cli1-xdr.x +++ b/rpc/xdr/src/cli1-xdr.x @@ -165,6 +165,17 @@ struct gf1_cli_get_vol_rsp { unsigned hyper lookedup_files; } ; + + struct gf2_cli_defrag_vol_rsp { + int op_ret; + int op_errno; + string op_errstr<>; + string volname<>; + unsigned hyper files; + unsigned hyper size; + unsigned hyper lookedup_files; +} ; + struct gf1_cli_add_brick_req { string volname<>; int count; -- cgit