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
This commit is contained in:
parent
c654477e64
commit
03738f6076
@ -749,10 +749,9 @@ nfsrvd_compound(struct nfsrv_descript *nd, int isdgram, u_char *tag,
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user