err = -EPERM;
goto reply;
}
+ if (!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
+ ss << "you must set the require_luminous_osds flag to use this feature";
+ err = -EPERM;
+ goto reply;
+ }
err = check_cluster_features(CEPH_FEATUREMASK_OSDMAP_REMAP, ss);
if (err == -EAGAIN)
goto wait;
err = -EPERM;
goto reply;
}
+ if (!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
+ ss << "you must set the require_luminous_osds flag to use this feature";
+ err = -EPERM;
+ goto reply;
+ }
err = check_cluster_features(CEPH_FEATUREMASK_OSDMAP_REMAP, ss);
if (err == -EAGAIN)
goto wait;
err = -EPERM;
goto reply;
}
+ if (!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
+ ss << "you must set the require_luminous_osds flag to use this feature";
+ err = -EPERM;
+ goto reply;
+ }
err = check_cluster_features(CEPH_FEATUREMASK_OSDMAP_REMAP, ss);
if (err == -EAGAIN)
goto wait;
err = -EPERM;
goto reply;
}
+ if (!osdmap.test_flag(CEPH_OSDMAP_REQUIRE_LUMINOUS)) {
+ ss << "you must set the require_luminous_osds flag to use this feature";
+ err = -EPERM;
+ goto reply;
+ }
err = check_cluster_features(CEPH_FEATUREMASK_OSDMAP_REMAP, ss);
if (err == -EAGAIN)
goto wait;