svn commit: r269771 - head/sys/fs/nfsserver

Rick Macklem rmacklem at uoguelph.ca
Sun Aug 10 12:00:17 UTC 2014


I wrote:
> Author: rmacklem
> Date: Sun Aug 10 01:13:32 2014
> New Revision: 269771
> URL: http://svnweb.freebsd.org/changeset/base/269771
> 
> Log:
>   Change the NFS server's printf related to hitting
>   the DRC cache's flood level so that it suggests
>   increasing vfs.nfsd.tcphighwater.
>   
>   Suggested by:	h.schmalzbauer at omnilan.de
> 
Oops, I intended to put an MFC of 1 week here.

Sorry about that, rick

> Modified:
>   head/sys/fs/nfsserver/nfs_nfsdsocket.c
> 
> Modified: head/sys/fs/nfsserver/nfs_nfsdsocket.c
> ==============================================================================
> --- head/sys/fs/nfsserver/nfs_nfsdsocket.c	Sun Aug 10 00:30:12 2014
> 	(r269770)
> +++ head/sys/fs/nfsserver/nfs_nfsdsocket.c	Sun Aug 10 01:13:32 2014
> 	(r269771)
> @@ -749,10 +749,9 @@ nfsrvd_compound(struct nfsrv_descript *n
>  		    nd->nd_rp->rc_refcnt == 0) &&
>  		    (nfsrv_mallocmget_limit() ||
>  		     nfsrc_tcpsavedreplies > nfsrc_floodlevel)) {
> -			if (nfsrc_tcpsavedreplies > nfsrc_floodlevel) {
> -				printf("nfsd server cache flooded, try to");
> -				printf(" increase nfsrc_floodlevel\n");
> -			}
> +			if (nfsrc_tcpsavedreplies > nfsrc_floodlevel)
> +				printf("nfsd server cache flooded, try "
> +				    "increasing vfs.nfsd.tcphighwater\n");
>  			nd->nd_repstat = NFSERR_RESOURCE;
>  			*repp = nfsd_errmap(nd);
>  			if (op == NFSV4OP_SETATTR) {
> 
> 


More information about the svn-src-head mailing list