File tree 6 files changed +9
-12
lines changed
ncm-metaconfig/src/main/metaconfig/ganesha
6 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ prefix "/metaconfig/contents/main/test";
113
113
" Enable_RQUOTA" = true;
114
114
" MNT_Port" = 0;
115
115
" MNT_Program" = 100005;
116
- " Manage_Gids_Expiration" = 30* 60;
116
+ " Manage_Gids_Expiration" = 30 * 60;
117
117
" MaxRPCRecvBufferSize" = 1048576;
118
118
" MaxRPCSendBufferSize" = 1048576;
119
119
" NFS_Port" = 2049;
Original file line number Diff line number Diff line change 1
1
unique template metaconfig/ganesha/config_v1;
2
2
3
3
variable GANESHA_FSAL ? = undef;
4
- variable GANESHA_SERVICE ? = format (' nfs-ganesha-%s' ,GANESHA_FSAL);
4
+ variable GANESHA_SERVICE ? = format (' nfs-ganesha-%s' , GANESHA_FSAL);
5
5
variable GANESHA_MANAGES_GANESHA ? = true;
6
6
7
7
include ' metaconfig/ganesha/schema' ;
8
8
9
9
bind " /software/components/metaconfig/services/{/etc/ganesha/ganesha.nfsd.conf}/contents" = ganesha_config;
10
10
11
11
prefix " /software/components/metaconfig/services/{/etc/ganesha/ganesha.nfsd.conf}" ;
12
- " daemons" = { if (GANESHA_MANAGES_GANESHA) { dict (GANESHA_SERVICE, " restart" )} else { null} ; } ;
12
+ " daemons" = if (GANESHA_MANAGES_GANESHA) dict (GANESHA_SERVICE, " restart" ) else null;
13
13
" module" = " ganesha/1.5/main" ;
14
14
15
15
prefix " /software/components/metaconfig/services/{/etc/ganesha/ganesha.nfsd.conf}/contents/main" ;
16
16
' SNMP_ADM/snmp_adm_log' = ' /var/log/ganesha_snmp_adm.log' ;
17
-
Original file line number Diff line number Diff line change @@ -8,6 +8,5 @@ include 'metaconfig/ganesha/schema_v2';
8
8
bind " /software/components/metaconfig/services/{/etc/ganesha/ganesha.conf}/contents" = ganesha_v2_config;
9
9
10
10
prefix " /software/components/metaconfig/services/{/etc/ganesha/ganesha.conf}" ;
11
- " daemons" = { if (GANESHA_MANAGES_GANESHA) { dict (GANESHA_SERVICE, " restart" )} else { null} ; } ;
11
+ " daemons" = if (GANESHA_MANAGES_GANESHA) dict (GANESHA_SERVICE, " restart" ) else null;
12
12
" module" = " ganesha/2.2/main" ;
13
-
Original file line number Diff line number Diff line change @@ -13,20 +13,19 @@ prefix "/software/components/metaconfig/services/{/etc/ganesha/ganesha.nfsd.conf
13
13
" CacheInode/Symlink_Expiration_Time" = 120;
14
14
" CacheInode/Directory_Expiration_Time" = 120;
15
15
16
- " CacheInode_GC_Policy/Entries_HWMark" = 1500* 256* GANESHA_GPFS_MULTIPLIER;
17
- " CacheInode_GC_Policy/Entries_LWMark" = 1000* 256* GANESHA_GPFS_MULTIPLIER;
16
+ " CacheInode_GC_Policy/Entries_HWMark" = 1500 * 256 * GANESHA_GPFS_MULTIPLIER;
17
+ " CacheInode_GC_Policy/Entries_LWMark" = 1000 * 256 * GANESHA_GPFS_MULTIPLIER;
18
18
" CacheInode_GC_Policy/LRU_Run_Interval" = 90;
19
19
" CacheInode_GC_Policy/FD_HWMark_Percent" = 60;
20
20
" CacheInode_GC_Policy/FD_LWMark_Percent" = 20;
21
21
" CacheInode_GC_Policy/FD_Limit_Percent" = 90;
22
22
" CacheInode_GC_Policy/Reaper_Work" = 15000;
23
23
24
- " NFS_Core_Param/Nb_Worker" = 128* GANESHA_GPFS_MULTIPLIER;
24
+ " NFS_Core_Param/Nb_Worker" = 128 * GANESHA_GPFS_MULTIPLIER;
25
25
" NFS_Core_Param/MNT_Port" = 32767;
26
26
" NFS_Core_Param/NLM_Port" = 32769;
27
27
" NFS_Core_Param/RQOTA_Port" = null; # no rqouta on gpfs
28
28
" NFS_Core_Param/Nb_Max_Fd" = -1;
29
29
" NFS_Core_Param/Clustered" = true;
30
30
31
31
" SNMP_ADM/export_cache_inode_calls_detail" = null; # not for gpfs
32
-
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ type ganesha_nfs_core_param = {
197
197
198
198
" MaxRPCSendBufferSize" ? long(0..) = 32768 # The size of each RPC send buffer in bytes and effectively the maximum send size.
199
199
" MaxRPCRecvBufferSize" ? long(0..) = 32768 # The size of each RPC receive buffer in bytes and effectively the maximum receive size.
200
- " NFS_Protocols" ? ganesha_nfs_protocol[] = list (3,4) # List of NFS Protocol Versions that should be supported
200
+ " NFS_Protocols" ? ganesha_nfs_protocol[] = list (3, 4) # List of NFS Protocol Versions that should be supported
201
201
} = dict ();
202
202
203
203
type ganesha_nfs_dupreq_hash = {
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ function is_ganesha_v2_log_Components = {
139
139
components = ARGV[0];
140
140
foreach (cmp; logl; components) {
141
141
if (index (cmp, GANESHA_V2_LOG_COMPONENTS) == -1) {
142
- error (format ( " %s is not a valid Ganesha Log Component !" , cmp) );
142
+ error (" %s is not a valid Ganesha Log Component !" , cmp);
143
143
return (false);
144
144
};
145
145
};
You can’t perform that action at this time.
0 commit comments