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)
Conflicts:
src/common/options/mds-client.yaml.in
.set_description("confirm access to inode's data pool/namespace described in file layout"),
Option("client_use_faked_inos", Option::TYPE_BOOL, Option::LEVEL_DEV)
+ .set_flag(Option::FLAG_STARTUP)
+ .set_flag(Option::FLAG_NO_MON_UPDATE)
.set_default(false)
.set_description(""),