summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2013-11-22 13:03:57 +0530
committerAnand Avati <avati@redhat.com>2013-12-03 15:19:25 -0800
commit916785766777ea74c30df17b6e2c572bc1c9a534 (patch)
treeb6460e4ecb8db4f2b8251e291afa20ef101bb8b5 /rpc
parent8a0f744c461166be483f28fe9da37732586585d8 (diff)
cli: More checks in rebalance status output
Change-Id: Ibd2edc5608ae6d3370607bff1c626c8347c4deda BUG: 1031887 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/6337 Reviewed-by: Krishnan Parthasarathi <kparthas@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'rpc')
-rw-r--r--rpc/xdr/src/cli1-xdr.h1
-rw-r--r--rpc/xdr/src/cli1-xdr.x3
2 files changed, 3 insertions, 1 deletions
diff --git a/rpc/xdr/src/cli1-xdr.h b/rpc/xdr/src/cli1-xdr.h
index 0bed637e283..e1cb34dc96f 100644
--- a/rpc/xdr/src/cli1-xdr.h
+++ b/rpc/xdr/src/cli1-xdr.h
@@ -52,6 +52,7 @@ enum gf_defrag_status_t {
GF_DEFRAG_STATUS_LAYOUT_FIX_STOPPED = 6,
GF_DEFRAG_STATUS_LAYOUT_FIX_COMPLETE = 7,
GF_DEFRAG_STATUS_LAYOUT_FIX_FAILED = 8,
+ GF_DEFRAG_STATUS_MAX = 9,
};
typedef enum gf_defrag_status_t gf_defrag_status_t;
diff --git a/rpc/xdr/src/cli1-xdr.x b/rpc/xdr/src/cli1-xdr.x
index 07327c72729..46f4581eeae 100644
--- a/rpc/xdr/src/cli1-xdr.x
+++ b/rpc/xdr/src/cli1-xdr.x
@@ -15,7 +15,8 @@
GF_DEFRAG_STATUS_LAYOUT_FIX_STARTED,
GF_DEFRAG_STATUS_LAYOUT_FIX_STOPPED,
GF_DEFRAG_STATUS_LAYOUT_FIX_COMPLETE,
- GF_DEFRAG_STATUS_LAYOUT_FIX_FAILED
+ GF_DEFRAG_STATUS_LAYOUT_FIX_FAILED,
+ GF_DEFRAG_STATUS_MAX
} ;
enum gf1_cluster_type {