tstellar / rpms / ceph

Forked from rpms/ceph 3 years ago
Clone
9097f5d
diff -up ceph-0.39/src/mds/MDBalancer.cc.fix ceph-0.39/src/mds/MDBalancer.cc
9097f5d
--- ceph-0.39/src/mds/MDBalancer.cc.fix	2012-02-16 12:23:26.582302711 -0500
9097f5d
+++ ceph-0.39/src/mds/MDBalancer.cc	2012-02-16 12:31:44.386396603 -0500
9097f5d
@@ -1155,6 +1155,7 @@ void MDBalancer::dump_pop_map()
9097f5d
 {
9097f5d
   return; // this is dumb
9097f5d
 
9097f5d
+/*
9097f5d
 
9097f5d
   char fn[32];
9097f5d
   snprintf(fn, sizeof(fn), "popdump.%d.mds%d", beat_epoch, mds->get_nodeid());
9097f5d
@@ -1174,10 +1175,9 @@ void MDBalancer::dump_pop_map()
9097f5d
     iq.pop_front();
9097f5d
 
9097f5d
     // pop stats
9097f5d
-    /*for (int a=0; a
9097f5d
-      for (int b=0; b
9097f5d
-	myfile << in->popularity[a].pop[b].get(now) << "\t";
9097f5d
-    */
9097f5d
+    //for (int a=0; a
9097f5d
+    //  for (int b=0; b
9097f5d
+    //    myfile << in->popularity[a].pop[b].get(now) << "\t";
9097f5d
 
9097f5d
     // recurse, depth-first.
9097f5d
     if (in->is_dir()) {
9097f5d
@@ -1214,6 +1214,7 @@ void MDBalancer::dump_pop_map()
9097f5d
   }
9097f5d
 
9097f5d
   myfile.close();
9097f5d
+*/
9097f5d
 }
9097f5d
 
9097f5d