]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
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>
Tue, 23 Aug 2022 05:42:23 +0000 (13:42 +0800)
commit61fbc9a273af9d7ef91056e0f4fcc2a09e5cd559
treeb8af5e25debe86cbc325a30d7a672c75d416b734
parent39fb552f874d6b3747e3ee10d12a50efeea8853d
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 <xiubli@redhat.com>
(cherry picked from commit 28d17ff81a93d5442d2107abbd51296ac822073a)
src/common/options/mds-client.yaml.in