Allow the setting of the NFSv4 grace period (bz 665387)
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
10702da2ca
commit
423f02dd9c
5
nfs.init
5
nfs.init
@ -85,6 +85,11 @@ case "$1" in
|
||||
/sbin/modprobe nfsd
|
||||
[ -n "$RDMA_PORT" ] && /sbin/modprobe svcrdma
|
||||
}
|
||||
|
||||
# Set v4 grace period if requested
|
||||
[ -n "$NFSD_V4_GRACE" ] && {
|
||||
echo "$NFSD_V4_GRACE" > /proc/fs/nfsd/nfsv4gracetime
|
||||
}
|
||||
action $"Starting NFS services: " /usr/sbin/exportfs -r
|
||||
|
||||
if [ -n "$RQUOTAD" -a "$RQUOTAD" != "no" ]; then
|
||||
|
@ -32,6 +32,8 @@
|
||||
#RPCNFSDCOUNT=8
|
||||
# Stop the nfsd module from being pre-loaded
|
||||
#NFSD_MODULE="noload"
|
||||
# Set V4 grace period in seconds
|
||||
#NFSD_V4_GRACE=90
|
||||
#
|
||||
#
|
||||
# Optional arguments passed to rpc.mountd. See rpc.mountd(8)
|
||||
|
Loading…
Reference in New Issue
Block a user