]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/mon/ConfigMonitor.cc
update ceph source to reef 18.2.1
[ceph.git] / ceph / src / mon / ConfigMonitor.cc
index 471aebf6dd6ba6360774bcff3abd2d2415336eba..e24ccbc1803d1abfce0886bd025f48608e469b43 100644 (file)
@@ -920,6 +920,7 @@ bool ConfigMonitor::refresh_config(MonSession *s)
 
   string device_class;
   if (s->name.is_osd()) {
+    osdmap.crush->get_full_location(s->entity_name.to_str(), &crush_location);
     const char *c = osdmap.crush->get_item_class(s->name.num());
     if (c) {
       device_class = c;