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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127137
@ -452,8 +452,11 @@ nfs_send(struct socket *so, struct sockaddr *nam, struct mbuf *top,
|
||||
}
|
||||
|
||||
if (error) {
|
||||
log(LOG_INFO, "nfs send error %d for server %s\n", error,
|
||||
rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname);
|
||||
if (error != EPIPE) {
|
||||
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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user