]> 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>
Wed, 15 Jun 2022 02:29:38 +0000 (10:29 +0800)
commit28d17ff81a93d5442d2107abbd51296ac822073a
treefcf78e89302321e4d291ea5c6fbb7bf35e196aac
parentbcc078c8bf921446048c405d4f2d3d658b4870f7
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>
src/common/options/mds-client.yaml.in