Project

General

Profile

Bug #2076 » ceph-0.39-comment-out-unused-code-in-dump_pop_map.patch

David Nalley, 02/17/2012 08:13 AM

View differences:

ceph-0.39/src/mds/MDBalancer.cc 2012-02-16 12:31:44.386396603 -0500
{
return; // this is dumb
/*
char fn[32];
snprintf(fn, sizeof(fn), "popdump.%d.mds%d", beat_epoch, mds->get_nodeid());
......
iq.pop_front();
// pop stats
/*for (int a=0; a<MDS_NPOP; a++)
for (int b=0; b<META_NPOP; b++)
myfile << in->popularity[a].pop[b].get(now) << "\t";
*/
//for (int a=0; a<MDS_NPOP; a++)
// for (int b=0; b<META_NPOP; b++)
// myfile << in->popularity[a].pop[b].get(now) << "\t";
// recurse, depth-first.
if (in->is_dir()) {
......
}
myfile.close();
*/
}
(1-1/2)