Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph-fuse: add option to disable kernel pagecache
When multiple clients read/write to a file at the same time, we need to disable cache and let reads/writes go to OSDs. In ceph-fuse case, there are two caches, one is in ceph-fuse, another one is in kernel. We can't disable/enable the kernel cache dynamically. So adding an config option to completely disable kernel cache. Disabling kernel cache may reduce performance, so option is disabled by default. Fixes: 12653 Signed-off-by: Yan, Zheng <zyan@redhat.com> (cherry picked from commit 0f11ec2) Conflicts: src/common/config_opts.h follow the content in patchset, set fuse_use_invalidate_cb to True. Which is also the backport for http://tracker.ceph.com/issues/15634
- Loading branch information