]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: reset code after cpu_profiler 52979/head
authorliu shi <liu.shi@navercorp.com>
Fri, 14 May 2021 07:52:27 +0000 (03:52 -0400)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Mon, 14 Aug 2023 13:51:35 +0000 (20:51 +0700)
Signed-off-by: liu shi <liu.shi@navercorp.com>
(cherry picked from commit f1afb7b1b8d1b4873730e1b88a552213e4c51977)

src/mds/MDSDaemon.cc

index 0c01593a2d3398f21735a371f159839b706643d1..de8f8838f9d59a6d6b0e107f9ba81bcc93e60003 100644 (file)
@@ -190,6 +190,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;