Author: rmacklem
Date: Sat Aug 30 13:28:10 2014
New Revision: 270841
URL: http://svnweb.freebsd.org/changeset/base/270841

Log:
  MFC: r269771
  Change the NFS server's printf related to hitting
  the DRC cache's flood level so that it suggests
  increasing vfs.nfsd.tcphighwater.

Modified:
  stable/9/sys/fs/nfsserver/nfs_nfsdsocket.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/fs/   (props changed)

Modified: stable/9/sys/fs/nfsserver/nfs_nfsdsocket.c
==============================================================================
--- stable/9/sys/fs/nfsserver/nfs_nfsdsocket.c  Sat Aug 30 10:29:47 2014        
(r270840)
+++ stable/9/sys/fs/nfsserver/nfs_nfsdsocket.c  Sat Aug 30 13:28:10 2014        
(r270841)
@@ -675,10 +675,9 @@ nfsrvd_compound(struct nfsrv_descript *n
                if (i == 0 && 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) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to