From: Xiubo Li Date: Wed, 23 Mar 2022 02:05:32 +0000 (+0800) Subject: mds-client: make the fake inos option unchangeable in runtime X-Git-Tag: v16.2.11~353^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fa3ef523844824ec8c924a610f53fae2091de39d;p=ceph.git mds-client: make the fake inos option unchangeable in runtime If the flags is empty then in option.h in can_update_at_runtime() it will return true. That means this opetion could be changed in runtime, which is buggy. Because if this is false, ceph-fuse will use its own fake inos instead of libcephfs'. If this is changed during runtime, we will hit inos dosn't exist assert bugs. Fixes: https://tracker.ceph.com/issues/54653 Signed-off-by: Xiubo Li (cherry picked from commit 28d17ff81a93d5442d2107abbd51296ac822073a) Conflicts: src/common/options/mds-client.yaml.in --- diff --git a/src/common/options.cc b/src/common/options.cc index ee7fe4830a78..dd4171af44eb 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -9168,6 +9168,8 @@ std::vector