if (CInode::count())
caps_per_inode = (double)Capability::count() / (double)CInode::count();
- dout(2) << "check_memory_usage"
+ dout(2) << "Memory usage: "
<< " total " << last.get_total()
<< ", rss " << last.get_rss()
<< ", heap " << last.get_heap()
// Only do this once we are back in bounds: otherwise the releases would
// slow down whatever process caused us to exceed bounds to begin with
if (ceph_using_tcmalloc()) {
- dout(2) << "check_memory_usage: releasing unused space from tcmalloc"
+ dout(5) << "check_memory_usage: releasing unused space from tcmalloc"
<< dendl;
ceph_heap_release_free_memory();
}
void MDCache::shutdown_start()
{
- dout(2) << "shutdown_start" << dendl;
+ dout(5) << "shutdown_start" << dendl;
if (g_conf->mds_shutdown_check)
mds->timer.add_event_after(g_conf->mds_shutdown_check, new C_MDC_ShutdownCheck(this));
}
// done!
- dout(2) << "shutdown done." << dendl;
+ dout(5) << "shutdown done." << dendl;
return true;
}
MDSGatherBuilder gather(g_ceph_context,
new C_MDS_BootStart(this, MDS_BOOT_OPEN_ROOT));
- dout(2) << "boot_start " << step << ": opening inotable" << dendl;
+ dout(2) << "Booting: " << step << ": opening inotable" << dendl;
inotable->set_rank(whoami);
inotable->load(gather.new_sub());
- dout(2) << "boot_start " << step << ": opening sessionmap" << dendl;
+ dout(2) << "Booting: " << step << ": opening sessionmap" << dendl;
sessionmap.set_rank(whoami);
sessionmap.load(gather.new_sub());
- dout(2) << "boot_start " << step << ": opening mds log" << dendl;
+ dout(2) << "Booting: " << step << ": opening mds log" << dendl;
mdlog->open(gather.new_sub());
if (is_starting()) {
- dout(2) << "boot_start " << step << ": opening purge queue" << dendl;
+ dout(2) << "Booting: " << step << ": opening purge queue" << dendl;
purge_queue.open(new C_IO_Wrapper(this, gather.new_sub()));
} else if (!standby_replaying) {
- dout(2) << "boot_start " << step << ": opening purge queue (async)" << dendl;
+ dout(2) << "Booting: " << step << ": opening purge queue (async)" << dendl;
purge_queue.open(NULL);
}
if (mdsmap->get_tableserver() == whoami) {
- dout(2) << "boot_start " << step << ": opening snap table" << dendl;
+ dout(2) << "Booting: " << step << ": opening snap table" << dendl;
snapserver->set_rank(whoami);
snapserver->load(gather.new_sub());
}
break;
case MDS_BOOT_OPEN_ROOT:
{
- dout(2) << "boot_start " << step << ": loading/discovering base inodes" << dendl;
+ dout(2) << "Booting: " << step << ": loading/discovering base inodes" << dendl;
MDSGatherBuilder gather(g_ceph_context,
new C_MDS_BootStart(this, MDS_BOOT_PREPARE_LOG));
break;
case MDS_BOOT_PREPARE_LOG:
if (is_any_replay()) {
- dout(2) << "boot_start " << step << ": replaying mds log" << dendl;
+ dout(2) << "Booting: " << step << ": replaying mds log" << dendl;
MDSGatherBuilder gather(g_ceph_context,
new C_MDS_BootStart(this, MDS_BOOT_REPLAY_DONE));
if (!standby_replaying) {
- dout(2) << "boot_start " << step << ": waiting for purge queue recovered" << dendl;
+ dout(2) << "Booting: " << step << ": waiting for purge queue recovered" << dendl;
purge_queue.wait_for_recovery(new C_IO_Wrapper(this, gather.new_sub()));
}
mdlog->replay(gather.new_sub());
gather.activate();
} else {
- dout(2) << "boot_start " << step << ": positioning at end of old mds log" << dendl;
+ dout(2) << "Booting: " << step << ": positioning at end of old mds log" << dendl;
mdlog->append();
starting_done();
}
void MDSRank::stopping_start()
{
- dout(2) << "stopping_start" << dendl;
+ dout(2) << "Stopping..." << dendl;
if (mdsmap->get_num_in_mds() == 1 && !sessionmap.empty()) {
// we're the only mds up!
void MDSRank::stopping_done()
{
- dout(2) << "stopping_done" << dendl;
+ dout(2) << "Finished stopping..." << dendl;
// tell monitor we shut down cleanly.
request_state(MDSMap::STATE_STOPPED);