]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: remove dead code
authorGreg Farnum <gregf@hq.newdream.net>
Tue, 29 Jun 2010 17:28:24 +0000 (10:28 -0700)
committerGreg Farnum <gregf@hq.newdream.net>
Wed, 30 Jun 2010 23:06:52 +0000 (16:06 -0700)
src/client/Client.cc

index 0040a1667d707ae61bda1de7c5a6794221ea47f7..386f20020a85711b6c7bd3f089cc8901e878b641 100644 (file)
@@ -752,11 +752,6 @@ int Client::choose_target_mds(MetaRequest *req)
     mds = mdsmap->get_random_up_mds();
     dout(10) << "random mds" << mds << dendl;
     if (mds < 0) mds = 0;
-
-    if (0) {
-      mds = 0;
-      dout(0) << "hack: sending all requests to mds" << mds << dendl;
-    }
   } else {
     if (req->auth_is_best() || req->send_to_auth) {
       // pick the actual auth (as best we can)