summaryrefslogtreecommitdiffstats
path: root/src/mds/MDSMap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/MDSMap.cc')
-rw-r--r--src/mds/MDSMap.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mds/MDSMap.cc b/src/mds/MDSMap.cc
index 47c823bf763..013aefcf048 100644
--- a/src/mds/MDSMap.cc
+++ b/src/mds/MDSMap.cc
@@ -770,7 +770,7 @@ void MDSMap::encode(bufferlist& bl, uint64_t features) const
encode(data_pools, bl);
encode(cas_pool, bl);
- __u16 ev = 17;
+ __u16 ev = 18;
encode(ev, bl);
encode(compat, bl);
encode(metadata_pool, bl);
@@ -947,6 +947,9 @@ void MDSMap::decode(bufferlist::const_iterator& p)
if (ev >= 17) {
decode(max_xattr_size, p);
+ }
+
+ if (ev >= 18) {
decode(bal_rank_mask, p);
}