]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: reset code after cpu_profiler 41767/head
authorliu shi <liu.shi@navercorp.com>
Fri, 14 May 2021 07:52:27 +0000 (03:52 -0400)
committerCory Snyder <csnyder@iland.com>
Tue, 8 Jun 2021 18:14:49 +0000 (14:14 -0400)
Signed-off-by: liu shi <liu.shi@navercorp.com>
(cherry picked from commit f1afb7b1b8d1b4873730e1b88a552213e4c51977)

src/mds/MDSDaemon.cc

index 74def09ea0728fe2248eac2322c5a1df5af3e6a7..f875715009170c37b793e3355d0b6bd6b33e3f34 100644 (file)
@@ -184,6 +184,7 @@ void MDSDaemon::asok_command(
     vector<string> argvec;
     get_str_vec(arg, argvec);
     cpu_profiler_handle_command(argvec, ss);
+    r = 0;
   } else {
     if (mds_rank == NULL) {
       dout(1) << "Can't run that command on an inactive MDS!" << dendl;