Skip to content

Commit

Permalink
Merge pull request #16634 from neha-ojha/wip-default-device-class
Browse files Browse the repository at this point in the history
osd: add default_device_class to metadata

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
  • Loading branch information
liewegas committed Jul 28, 2017
2 parents f4850ae + f8ae463 commit cabe2f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osd/OSD.cc
Expand Up @@ -5880,6 +5880,7 @@ void OSD::_collect_metadata(map<string,string> *pm)
// backend
(*pm)["osd_objectstore"] = store->get_type();
(*pm)["rotational"] = store_is_rotational ? "1" : "0";
(*pm)["default_device_class"] = store->get_default_device_class();
store->collect_metadata(pm);

collect_sys_info(pm, cct);
Expand Down

0 comments on commit cabe2f9

Please sign in to comment.