Date: Sat, 30 Aug 2014 13:28:11 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r270841 - stable/9/sys/fs/nfsserver Message-ID: <201408301328.s7UDSB1b033664@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408301328.s7UDSB1b033664>