]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_fuse: make it to force invalidating dentries when kernel >=3.18
authorXiubo Li <xiubli@redhat.com>
Wed, 19 Oct 2022 08:44:04 +0000 (16:44 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 31 Jan 2023 05:57:22 +0000 (13:57 +0800)
commita0e02116d422ac24ddd1f3f5e5052dd224570bf7
treef9d9ef7417827d52769b1e7fbb84afe9277165a4
parent9762c90f1cc7342653e12bdc8fd088631a198590
ceph_fuse: make it to force invalidating dentries when kernel >=3.18

The remount will fail randomly for unknown reasons. And in certain
circumstance we can reprodce this very easy, which will block our
testing. Make it posible to force to old method to invalidate the
dcache when the "client_try_dentry_invalidate" option is enabled
even kernel version >= 3.18.0

Fixes: https://tracker.ceph.com/issues/56532
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit f9c78fe72f3d7c02e927f71e0fbd841605c42708)
src/ceph_fuse.cc