]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: add and utilize OSD_FIXED_COLLECTION_LIST feature
authorMykola Golub <mgolub@suse.com>
Thu, 30 Jul 2020 14:21:28 +0000 (15:21 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 9 Sep 2020 09:13:51 +0000 (12:13 +0300)
commit1f906dbee8028e23adb3af4fba06dc46a0471a3e
tree631a341b34bcfab045922b66f2bfc589d2b9b860
parent5b7b5358f961a1bbb309707947bf21c08a05a526
osd: add and utilize OSD_FIXED_COLLECTION_LIST feature

If all osds from upacting set have this feature set
the backend can use the new "fixed" collection_list method,
otherwise it fallbacks to the legacy method.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 8f9d335bc7cccb221ca7316ee0c8f22198d0f9ef)

Conflicts:
src/include/ceph_features.h: trivial
src/osd/PGBackend.h: trivial
src/osd/PrimaryLogPG.h: PG::get_min_upacting_features instead of
PeeringState::get_min_upacting_features
src/include/ceph_features.h
src/os/bluestore/BlueStore.cc
src/osd/PGBackend.cc
src/osd/PGBackend.h
src/osd/PrimaryLogPG.h