]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: only require crush features for rules that are actually used
authorSage Weil <sage@redhat.com>
Fri, 15 Aug 2014 15:55:10 +0000 (08:55 -0700)
committerSage Weil <sage@redhat.com>
Fri, 15 Aug 2014 15:55:27 +0000 (08:55 -0700)
commit16dadb86e02108e11a970252411855d84ab0a4a2
tree5079277bccbf9d391b70061b01234cfd28086ab0
parent1d95486780a54c85a5c88936a4da4bdc3576a7b8
osd: only require crush features for rules that are actually used

Often there will be a CRUSH rule present for erasure coding that uses the
new CRUSH steps or indep mode.  If these rules are not referenced by any
pool, we do not need clients to support the mapping behavior.  This is true
because the encoding has not changed; only the expected CRUSH output.

Fixes: #8963
Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.cc