Add a comment with an explanation why we don't report EPIPE errors on
nfs sockets. Requested by: ru
This commit is contained in:
parent
a58a272a0e
commit
512af1646c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127144
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user