crimson/osd: move "_preboot" log to where it belongs to

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2019-01-31 13:43:46 +08:00
parent 3ee0167266
commit a88e89e777

View File

@ -170,6 +170,7 @@ seastar::future<> OSD::start_boot()
seastar::future<> OSD::_preboot(version_t newest, version_t oldest)
{
logger().info("osd.{}: _preboot", whoami);
if (osdmap->get_epoch() == 0) {
logger().warn("waiting for initial osdmap");
} else if (osdmap->is_destroyed(whoami)) {
@ -512,7 +513,6 @@ seastar::future<> OSD::committed_osd_maps(version_t first,
logger().info("osd.{}: now preboot", whoami);
if (m->get_source().is_mon()) {
logger().info("osd.{}: _preboot", whoami);
return _preboot(m->oldest_map, m->newest_map);
} else {
logger().info("osd.{}: start_boot", whoami);