From: Xiubo Li Date: Tue, 20 Apr 2021 05:54:11 +0000 (+0800) Subject: mds: reset the return value for heap command X-Git-Tag: v15.2.17~45^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=957b611ab6f35c1ae575836e8eea0aa8afa387b7;p=ceph.git mds: reset the return value for heap command Fixes: https://tracker.ceph.com/issues/50433 Signed-off-by: Xiubo Li (cherry picked from commit e694f0a92367b7672fcbeab9c104fd055765a36c) --- diff --git a/src/mds/MDSDaemon.cc b/src/mds/MDSDaemon.cc index f8757150091..7b3976e3513 100644 --- a/src/mds/MDSDaemon.cc +++ b/src/mds/MDSDaemon.cc @@ -177,6 +177,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;