forked from pool/nfs-utils
- nfsserver.init, sysconfig.nfs: add NFSV4LEASETIME
parameter to allow lease time to be set. bnc#681510 OBS-URL: https://build.opensuse.org/package/show/Base:System/nfs-utils?expand=0&rev=48
This commit is contained in:
parent
a15cfb5f31
commit
10e67953e3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 2 06:48:03 UTC 2011 - nfbrown@novell.com
|
||||||
|
|
||||||
|
- nfsserver.init, sysconfig.nfs: add NFSV4LEASETIME
|
||||||
|
parameter to allow lease time to be set.
|
||||||
|
bnc#681510
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 31 11:43:41 UTC 2011 - lnussel@suse.de
|
Tue May 31 11:43:41 UTC 2011 - lnussel@suse.de
|
||||||
|
|
||||||
|
@ -188,6 +188,10 @@ case "$1" in
|
|||||||
if [ " `cat /proc/fs/nfsd/threads`" = " 0" ]; then
|
if [ " `cat /proc/fs/nfsd/threads`" = " 0" ]; then
|
||||||
echo $VERSION_LIST > /proc/fs/nfsd/versions
|
echo $VERSION_LIST > /proc/fs/nfsd/versions
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$NFSV4LEASETIME" -a -f /proc/fs/nfsd/nfsv4leasetime ]; then
|
||||||
|
echo "$NFSV4LEASETIME" > /proc/fs/nfsd/nfsv4leasetime
|
||||||
|
fi
|
||||||
|
|
||||||
nfs4_bind_mounts
|
nfs4_bind_mounts
|
||||||
# svcgssd; idmapd
|
# svcgssd; idmapd
|
||||||
if [ "$NEED_SVCGSSD" = yes ]; then
|
if [ "$NEED_SVCGSSD" = yes ]; then
|
||||||
|
@ -86,3 +86,17 @@ NFS_START_SERVICES="yes"
|
|||||||
#
|
#
|
||||||
STATD_OPTIONS=""
|
STATD_OPTIONS=""
|
||||||
|
|
||||||
|
## Path: Network/File systems/NFS server
|
||||||
|
## Description: Lease time for NFSv4 leases
|
||||||
|
## Type: integer
|
||||||
|
## Default: ""
|
||||||
|
#
|
||||||
|
# Set the lease time for the NFSv4 server. This allows new locks
|
||||||
|
# to be taken sooner after a server restart, so it is useful for
|
||||||
|
# servers which need to recover quickly after a failure, particularly
|
||||||
|
# in fail-over configurations. Reducing the lease time can be a
|
||||||
|
# problem is some clients connect over high latency networks.
|
||||||
|
# The default is 90 seconds. A number like 15 might be appropriate
|
||||||
|
# in a fail-over configuration with all clients on well connected
|
||||||
|
# low latency links.
|
||||||
|
NFSV4LEASETIME=""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user