]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: report overall 'rotational' status 15422/head
authorSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 02:16:23 +0000 (22:16 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 03:52:19 +0000 (23:52 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc

index 0558ca7d48215fc4d8b4128461e2d430f5cc4cd8..2b09b1393c8f7b17a879f96a7358b40ecc75d700 100644 (file)
@@ -5728,6 +5728,7 @@ void OSD::_collect_metadata(map<string,string> *pm)
 
   // backend
   (*pm)["osd_objectstore"] = store->get_type();
+  (*pm)["rotational"] = store_is_rotational ? "1" : "0";
   store->collect_metadata(pm);
 
   collect_sys_info(pm, cct);