From: Kefu Chai Date: Thu, 12 Oct 2017 12:07:46 +0000 (+0800) Subject: osd: print osd as "osd.$osdid" in log message X-Git-Tag: v12.2.2~39^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ed34b00566f9b1b65c09989af44ad24cdb27fbdc;p=ceph.git osd: print osd as "osd.$osdid" in log message easier to read this way Signed-off-by: Kefu Chai (cherry picked from commit c6b71ebf6b7b7c54560f331d5f8e4e24f5a60633) --- diff --git a/src/osd/OSD.cc b/src/osd/OSD.cc index 321889fecef6..74338478ccb9 100644 --- a/src/osd/OSD.cc +++ b/src/osd/OSD.cc @@ -8694,7 +8694,7 @@ void OSD::do_notifies( continue; } service.share_map_peer(it->first, con.get(), curmap); - dout(7) << __func__ << " osd " << it->first + dout(7) << __func__ << " osd." << it->first << " on " << it->second.size() << " PGs" << dendl; MOSDPGNotify *m = new MOSDPGNotify(curmap->get_epoch(), it->second);