]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mds-client: make the fake inos option unchangeable in runtime
authorXiubo Li <xiubli@redhat.com>
Wed, 23 Mar 2022 02:05:32 +0000 (10:05 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 15 Jun 2022 02:29:38 +0000 (10:29 +0800)
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 <xiubli@redhat.com>
src/common/options/mds-client.yaml.in

index 0cb68453dcb684f8b67b6a4577af5fb651846410..7f96fa30d24431a8d710841703585cf70813550d 100644 (file)
@@ -484,6 +484,9 @@ options:
   default: false
   services:
   - mds_client
+  flags:
+  - startup
+  - no_mon_update
   with_legacy: true
 - name: client_fs
   type: str