]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
client: don't mark_down on command reply 6204/head
authorJohn Spray <john.spray@redhat.com>
Thu, 8 Oct 2015 12:04:04 +0000 (13:04 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 8 Oct 2015 13:24:00 +0000 (14:24 +0100)
I guess this was handy when issuing single commands
from the CLI, but it breaks things badly when
trying to issue commands from a client
that's also going to carry on and do client IO.

Signed-off-by: John Spray <john.spray@redhat.com>
src/client/Client.cc

index 669a835a1f3ecfff6252e32674b14169ca0070aa..e313691fb9e9902abb6a1447d96744ad019eb565 100644 (file)
@@ -5005,8 +5005,6 @@ void Client::handle_command_reply(MCommandReply *m)
     *op.outs = m->rs;
   }
 
-  op.con->mark_down();
-
   if (op.on_finish) {
     op.on_finish->complete(m->r);
   }