Date: Sun, 10 Aug 2014 07:59:06 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: Rick Macklem <rmacklem@FreeBSD.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r269771 - head/sys/fs/nfsserver Message-ID: <796544262.9468281.1407671946855.JavaMail.root@uoguelph.ca> In-Reply-To: <53e6c73c.2b9a.73209a54@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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) { > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?796544262.9468281.1407671946855.JavaMail.root>