]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds: reset the return value for heap command 42056/head
authorXiubo Li <xiubli@redhat.com>
Tue, 20 Apr 2021 05:54:11 +0000 (13:54 +0800)
committerPatrick Donnelly <pdonnell@redhat.com>
Mon, 28 Jun 2021 19:25:09 +0000 (12:25 -0700)
Fixes: https://tracker.ceph.com/issues/50433
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit e694f0a92367b7672fcbeab9c104fd055765a36c)

src/mds/MDSDaemon.cc

index 0278eb638b310acd4cdde1ba30a1e41724d9181f..8b653c063f5dabce03a84cc6556328ed65358a5f 100644 (file)
@@ -180,6 +180,7 @@ void MDSDaemon::asok_command(
        heapcmd_vec.push_back(value);
       }
       ceph_heap_profiler_handle_command(heapcmd_vec, ss);
+      r = 0;
     }
   } else if (command == "cpu_profiler") {
     string arg;