Print this page
NEX-20105 Reduce the NFSv4 grace period to 10 seconds
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
NEX-18716 The NFS grace period is too long causing long failover times.
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
Reviewed by: Cynthia Eastham <cynthia.eastham@nexenta.com>
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
NEX-3982 Default value of nfsd and lockd threads should be 256
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Marcel Telka <marcel.telka@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
          +++ new/usr/src/cmd/fs.d/nfs/svc/nlockmgr.xml
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  
  15   15   When distributing Covered Code, include this CDDL HEADER in each
  16   16   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  17   17   If applicable, add the following below this CDDL HEADER, with the
  18   18   fields enclosed by brackets "[]" replaced with your own identifying
  19   19   information: Portions Copyright [yyyy] [name of copyright owner]
  20   20  
  21   21   CDDL HEADER END
  22   22  
  23   23          Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
       24 +        Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  24   25          Copyright (c) 2012, 2015 by Delphix. All rights reserved.
  25   26  
  26   27          NOTE:  This service manifest is not editable; its contents will
  27   28          be overwritten by package or patch operations, including
  28   29          operating system upgrade.  Make customizations in a different
  29   30          file.
  30   31  
  31   32          Note: if this service is modified to consist of anything other
  32   33          than a single instance named 'default', you must make changes to
  33   34          $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
↓ open down ↓ 52 lines elided ↑ open up ↑
  86   87                  <propval name='ipf_method' type='astring'
  87   88                          value='/lib/svc/method/nfs-server ipfilter' />
  88   89          </property_group>
  89   90  
  90   91          <property_group name='application' type='framework'>
  91   92                  <stability value='Evolving' />
  92   93                  <propval name='auto_enable' type='boolean' value='true' />
  93   94          </property_group>
  94   95          <instance name='default' enabled='false'>
  95   96            <property_group name='nfs-props' type='com.oracle.nfs,props'>
  96      -            <propval name='grace_period' type='integer' value='90'/>
       97 +            <propval name='grace_period' type='integer' value='10'/>
  97   98              <propval name='lockd_listen_backlog' type='integer' value='32'/>
  98   99              <propval name='lockd_retransmit_timeout' type='integer' value='5'/>
  99  100              <propval name='lockd_servers' type='integer' value='256'/>
 100  101            </property_group>
 101  102          </instance>
 102  103          <stability value='Stable' />
 103  104  
 104  105          <template>
 105  106                  <common_name>
 106  107                          <loctext xml:lang='C'>
↓ open down ↓ 11 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX