]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: reset code after cpu_profiler 41338/head
authorliu shi <liu.shi@navercorp.com>
Fri, 14 May 2021 07:52:27 +0000 (03:52 -0400)
committerliu shi <liu.shi@navercorp.com>
Fri, 14 May 2021 09:55:36 +0000 (05:55 -0400)
Signed-off-by: liu shi <liu.shi@navercorp.com>
src/mds/MDSDaemon.cc

index 8b653c063f5dabce03a84cc6556328ed65358a5f..729902a878e8094857b818b670189a2af6d4d4d6 100644 (file)
@@ -188,6 +188,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;