diff options
author | Tom Callaway <spot@redhat.com> | 2012-02-17 17:58:40 +0100 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2012-02-17 18:17:05 +0100 |
commit | d938246c50fce5e92f0212bc2c187a937b4b5b0e (patch) | |
tree | 482fb254be6b03da23c2e9bb9cb1fc0601063f11 | |
parent | osd: fix _activate_committed replica->primary message (diff) | |
download | ceph-d938246c50fce5e92f0212bc2c187a937b4b5b0e.tar.xz ceph-d938246c50fce5e92f0212bc2c187a937b4b5b0e.zip |
mds: comment out unused code in mds dump_pop_map
Signed-off-by: Tom Callaway <spot@redhat.com>
Signed-off-by: David Nalley <david@gnsa.us>
-rw-r--r-- | src/mds/MDBalancer.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mds/MDBalancer.cc b/src/mds/MDBalancer.cc index d81b9ead2e4..598558e25da 100644 --- a/src/mds/MDBalancer.cc +++ b/src/mds/MDBalancer.cc @@ -1155,6 +1155,7 @@ void MDBalancer::dump_pop_map() { return; // this is dumb +/* char fn[32]; snprintf(fn, sizeof(fn), "popdump.%d.mds%d", beat_epoch, mds->get_nodeid()); @@ -1174,10 +1175,9 @@ void MDBalancer::dump_pop_map() 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()) { @@ -1214,6 +1214,7 @@ void MDBalancer::dump_pop_map() } myfile.close(); +*/ } |