From: Varsha Rao Date: Thu, 16 Jul 2020 09:34:45 +0000 (+0530) Subject: mgr/nfs: Remove NParts and Cache_Size from MDCACHE block X-Git-Tag: v16.1.0~1686^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=90c0ebc45efdbc1e7008d4aa1d1dfeb429981ecd;p=ceph.git 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 --- 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 {