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. Obtained from: NetBSD
This commit is contained in:
parent
5f96beb9e0
commit
41eda4e2b1
@ -452,8 +452,11 @@ nfs_send(struct socket *so, struct sockaddr *nam, struct mbuf *top,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
log(LOG_INFO, "nfs send error %d for server %s\n", error,
|
if (error != EPIPE) {
|
||||||
rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname);
|
log(LOG_INFO, "nfs send error %d for server %s\n",
|
||||||
|
error,
|
||||||
|
rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname);
|
||||||
|
}
|
||||||
/*
|
/*
|
||||||
* Deal with errors for the client side.
|
* Deal with errors for the client side.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user