From 90c0ebc45efdbc1e7008d4aa1d1dfeb429981ecd Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Thu, 16 Jul 2020 15:04:45 +0530 Subject: [PATCH] mgr/nfs: Remove NParts and Cache_Size from MDCACHE block As setting them to small value affects the performance and they are not related to metadata caching. https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/495185 Fixes: https://tracker.ceph.com/issues/46579 Signed-off-by: Varsha Rao --- src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 | 2 -- src/vstart.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 b/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 index 381dbb87a148..5fe78320ee90 100644 --- a/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 +++ b/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 @@ -7,8 +7,6 @@ NFS_CORE_PARAM { MDCACHE { Dir_Chunk = 0; - NParts = 1; - Cache_Size = 1; } EXPORT_DEFAULTS { diff --git a/src/vstart.sh b/src/vstart.sh index d1f4a7b16b6e..993667841017 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -1094,8 +1094,6 @@ start_ganesha() { MDCACHE { Dir_Chunk = 0; - NParts = 1; - Cache_Size = 1; } NFSv4 { -- 2.47.3