Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs Suppress another case of a potentially noisy error m...
details: https://anonhg.NetBSD.org/src/rev/e87f60f9c67a
branches: trunk
changeset: 509650:e87f60f9c67a
user: fvdl <fvdl%NetBSD.org@localhost>
date: Wed May 09 20:02:32 2001 +0000
description:
Suppress another case of a potentially noisy error message which
isn't fatal.
diffstat:
sys/nfs/nfs_socket.c | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 414d17f157d9 -r e87f60f9c67a sys/nfs/nfs_socket.c
--- a/sys/nfs/nfs_socket.c Wed May 09 19:50:49 2001 +0000
+++ b/sys/nfs/nfs_socket.c Wed May 09 20:02:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_socket.c,v 1.66 2001/02/21 21:39:57 jdolecek Exp $ */
+/* $NetBSD: nfs_socket.c,v 1.67 2001/05/09 20:02:32 fvdl Exp $ */
/*
* Copyright (c) 1989, 1991, 1993, 1995
@@ -464,8 +464,15 @@
else
rep->r_flags |= R_MUSTRESEND;
}
- } else
- log(LOG_INFO, "nfsd send error %d\n", error);
+ } else {
+ /*
+ * See above. This error can happen under normal
+ * circumstances and the log is too noisy.
+ * The error will still show up in nfsstat.
+ */
+ if (error != ENOBUFS || so->so_type != SOCK_DGRAM)
+ log(LOG_INFO, "nfsd send error %d\n", error);
+ }
/*
* Handle any recoverable (soft) socket errors here. (? ? ?)
Home |
Main Index |
Thread Index |
Old Index