diff options
author | pjd <pjd@FreeBSD.org> | 2004-03-17 21:10:20 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-03-17 21:10:20 +0000 |
commit | 257769d6cca6a4d7fb115ea3fcb5f6043062e91f (patch) | |
tree | 76a1203683c414666e70f8a2b6339f79f385f9d2 /sys/nfsclient | |
parent | 11511b476db4159e7c56aa4dfcfb8fe21d757f2a (diff) | |
download | FreeBSD-src-257769d6cca6a4d7fb115ea3fcb5f6043062e91f.zip FreeBSD-src-257769d6cca6a4d7fb115ea3fcb5f6043062e91f.tar.gz |
Add a comment with an explanation why we don't report EPIPE errors on
nfs sockets.
Requested by: ru
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_socket.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c index a6c8186..c70ab03 100644 --- a/sys/nfsclient/nfs_socket.c +++ b/sys/nfsclient/nfs_socket.c @@ -452,6 +452,11 @@ nfs_send(struct socket *so, struct sockaddr *nam, struct mbuf *top, } if (error) { + /* + * Don't report EPIPE errors on nfs sockets. + * These can be due to idle tcp mounts which will be closed by + * netapp, solaris, etc. if left idle too long. + */ if (error != EPIPE) { log(LOG_INFO, "nfs send error %d for server %s\n", error, |