]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/nfs: Remove NParts and Cache_Size from MDCACHE block 36224/head
authorVarsha Rao <varao@redhat.com>
Thu, 16 Jul 2020 09:34:45 +0000 (15:04 +0530)
committerVarsha Rao <varao@redhat.com>
Tue, 21 Jul 2020 10:16:38 +0000 (15:46 +0530)
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 <varao@redhat.com>
(cherry picked from commit 90c0ebc45efdbc1e7008d4aa1d1dfeb429981ecd)

src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
src/vstart.sh

index 381dbb87a1485d34f854afca8347f5262bd138c0..5fe78320ee90e0efe70168859bc85a71de33eb79 100644 (file)
@@ -7,8 +7,6 @@ NFS_CORE_PARAM {
 
 MDCACHE {
         Dir_Chunk = 0;
-        NParts = 1;
-        Cache_Size = 1;
 }
 
 EXPORT_DEFAULTS {
index 9b50348b5d6d264886c3d257d4be0b69611dbd64..9b4800e8c02360ec3bac78c17b53129c7bf6c390 100755 (executable)
@@ -1105,8 +1105,6 @@ start_ganesha() {
 
         MDCACHE {
            Dir_Chunk = 0;
-           NParts = 1;
-           Cache_Size = 1;
         }
 
         NFSv4 {