From 28d17ff81a93d5442d2107abbd51296ac822073a Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Wed, 23 Mar 2022 10:05:32 +0800 Subject: [PATCH] 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 --- src/common/options/mds-client.yaml.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/options/mds-client.yaml.in b/src/common/options/mds-client.yaml.in index 0cb68453dcb6..7f96fa30d244 100644 --- a/src/common/options/mds-client.yaml.in +++ b/src/common/options/mds-client.yaml.in @@ -484,6 +484,9 @@ options: default: false services: - mds_client + flags: + - startup + - no_mon_update with_legacy: true - name: client_fs type: str -- 2.47.3