]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: fwd mgr commands unconditionally
authorSage Weil <sage@redhat.com>
Fri, 8 Sep 2017 18:51:51 +0000 (14:51 -0400)
committerSage Weil <sage@redhat.com>
Thu, 14 Sep 2017 13:46:38 +0000 (09:46 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/Monitor.cc

index 3088a2f518f5a95d863eef7bc92ab30d18ef7ce0..4b584e872018c845c15a46372c643303cf8e40ab 100644 (file)
@@ -3001,8 +3001,7 @@ void Monitor::handle_command(MonOpRequestRef op)
     << "entity='" << session->entity_name << "' "
     << "cmd=" << m->cmd << ": dispatch";
 
-  if (mon_cmd->is_mgr() &&
-      osdmon()->osdmap.require_osd_release >= CEPH_RELEASE_LUMINOUS) {
+  if (mon_cmd->is_mgr()) {
     const auto& hdr = m->get_header();
     uint64_t size = hdr.front_len + hdr.middle_len + hdr.data_len;
     uint64_t max =