]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/OSDMap: make get_features() take an entity type
authorSage Weil <sage@inktank.com>
Thu, 12 Jun 2014 23:44:53 +0000 (16:44 -0700)
committerSage Weil <sage@inktank.com>
Mon, 23 Jun 2014 16:55:32 +0000 (09:55 -0700)
commit6340b14b9c9a9c786b5448f2ea2a5556055a02e9
treedb808d3ce75a42f09b1776408fa7ee6663f477b4
parent400fa88f6cf8b1e5b4b15d9e36b1de8c3d1c3970
osd/OSDMap: make get_features() take an entity type

Make the helper that returns what features are required of the OSDMap take
an entity type argument, as the required features may vary between
components in the cluster.

Backport: firefly
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 250677c965365edf3ecd24ef73700fc6d992ea42)
src/mon/OSDMonitor.cc
src/osd/OSD.cc
src/osd/OSDMap.cc
src/osd/OSDMap.h
src/osd/PG.cc