Skip to content

Commit

Permalink
osd: adding 'reef' to pending_require_osd_release
Browse files Browse the repository at this point in the history
It appears adding 'reef' to pending_require_osd_release has been
forgotten. This PR adds it

Signed-off-by: Philipp Hufangl <[email protected]>
(cherry picked from commit e443ef3)
  • Loading branch information
PhilippHufnagl authored and Laura Flores committed Dec 21, 2023
1 parent 64b9cd9 commit 56f32be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/osd/OSDMap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7410,6 +7410,10 @@ unsigned OSDMap::get_device_class_flags(int id) const

std::optional<std::string> OSDMap::pending_require_osd_release() const
{
if (HAVE_FEATURE(get_up_osd_features(), SERVER_REEF) &&
require_osd_release < ceph_release_t::reef) {
return "reef";
}
if (HAVE_FEATURE(get_up_osd_features(), SERVER_QUINCY) &&
require_osd_release < ceph_release_t::quincy) {
return "quincy";
Expand Down

0 comments on commit 56f32be

Please sign in to comment.