Initscripts changes needed to support NFS over RDMA
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
9b25dd3e91
commit
f517c363e8
7
nfs.init
7
nfs.init
@ -81,8 +81,9 @@ case "$1" in
|
||||
fi
|
||||
|
||||
# Load the nfsd module so /proc/fs/nfsd will exist
|
||||
[ "$NFSD_MODULE" != "noload" ] && {
|
||||
[ -x /sbin/modprobe ] && /sbin/modprobe nfsd
|
||||
[ "$NFSD_MODULE" != "noload" -a -x /sbin/modprobe ] && {
|
||||
/sbin/modprobe nfsd
|
||||
[ -n "$RDMA_PORT" ] && /sbin/modprobe svcrdma
|
||||
}
|
||||
action $"Starting NFS services: " /usr/sbin/exportfs -r
|
||||
|
||||
@ -101,6 +102,8 @@ case "$1" in
|
||||
echo
|
||||
[ $RETVAL -ne 0 ] && exit $RETVAL
|
||||
|
||||
[ -n "$RDMA_PORT" ] && echo "rdma $RDMA_PORT" > /proc/fs/nfsd/portlist
|
||||
|
||||
[ -n "$MOUNTD_PORT" ] \
|
||||
&& RPCMOUNTDOPTS="$RPCMOUNTDOPTS -p $MOUNTD_PORT"
|
||||
|
||||
|
@ -60,3 +60,6 @@
|
||||
# Optional arguments passed to rpc.svcgssd. See rpc.svcgssd(8)
|
||||
#RPCSVCGSSDARGS=""
|
||||
#
|
||||
# To enable RDMA support on the server by setting this to
|
||||
# the port the server should listen on
|
||||
#RDMA_PORT=20049
|
||||
|
Loading…
Reference in New Issue
Block a user