]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
OSDMap: fill in known encode_features where possible 6122/head
authorSamuel Just <sjust@redhat.com>
Fri, 25 Sep 2015 01:35:39 +0000 (18:35 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 25 Sep 2015 17:01:11 +0000 (10:01 -0700)
commit04679c5451e353c966f6ed00b33fa97be8072a79
tree30f57f275849ef0c324a1f5a5d011915b1a45382
parent3afd5178ff2d61b89602265451ec35d5c8ecf6d0
OSDMap: fill in known encode_features where possible

Otherwise, if we get an incremental from hammer (struct_v = 6) we will
encode the full map as if it were before CEPH_FEATURE_PGID64, which
was actually pre-argonaut.  Similarly, if struct_v >= 7, we know it
was encoded with CEPH_FEATURE_OSDMAP_ENC.

Fixes: #13234
Backport: hammer
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/OSDMap.cc