From 69adaabface27880dd6c8dbfdeeb06cf3f3d346a Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Tue, 19 Sep 2017 14:38:13 +0800 Subject: [PATCH] client: set client_try_dentry_invalidate to false by default By default, ceph-fuse uses side effect of 'dentry invalidation' to trim kernel dcache if it runs on kernel < 3.18. The implemention of kernel function d_invalidate() changed in 3.18 kernel, the method no longer works for upstream kernel >= 3.18. RHEL 3.10 kernel includes backport of patches that change implemention of d_invalidate(). So checking kernel version to decide if 'dentry invalidation' method works is unreliable. Fixes: http://tracker.ceph.com/issues/21423 Signed-off-by: "Yan, Zheng" --- src/common/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index b5675608306..4a642a4841b 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5968,7 +5968,7 @@ std::vector