diff options
author | rees <rees@FreeBSD.org> | 2005-04-18 13:42:13 +0000 |
---|---|---|
committer | rees <rees@FreeBSD.org> | 2005-04-18 13:42:13 +0000 |
commit | 3e9035accc616371d1da7e129d8e14c6ccbb32e3 (patch) | |
tree | 78a3eb9130bbff3d27bbc4a13e307cd425ad7ce3 /sys/nfsclient | |
parent | 75030e30f64232f9490b244e2925b347d7bf669c (diff) | |
download | FreeBSD-src-3e9035accc616371d1da7e129d8e14c6ccbb32e3.zip FreeBSD-src-3e9035accc616371d1da7e129d8e14c6ccbb32e3.tar.gz |
TCP reconnect is not an error.
Change the message from LOG_ERR to LOG_INFO.
Approved by: alfred
Diffstat (limited to 'sys/nfsclient')
-rw-r--r-- | sys/nfsclient/nfs_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c index de58cd1..0ba8351 100644 --- a/sys/nfsclient/nfs_socket.c +++ b/sys/nfsclient/nfs_socket.c @@ -392,7 +392,7 @@ nfs_reconnect(struct nfsreq *rep) * torn down. The first one to acquire the sndlock will * retry the connection. The others block on the sndlock * until the connection is established successfully, and - * the re-transmit the request. + * then re-transmit the request. */ mtx_lock(&nmp->nm_nfstcpstate.mtx); nmp->nm_nfstcpstate.flags &= ~NFS_TCP_FORCE_RECONNECT; @@ -805,7 +805,7 @@ nfs_clnt_tcp_soupcall(struct socket *so, void *arg, int waitflag) */ if (error || auio.uio_resid > 0) { if (auio.uio_resid > 0) { - log(LOG_ERR, + log(LOG_INFO, "nfs/tcp clnt: Peer closed connection, tearing down TCP connection\n"); } else { log(LOG_ERR, @@ -851,7 +851,7 @@ nfs_clnt_tcp_soupcall(struct socket *so, void *arg, int waitflag) &auio, &mp, (struct mbuf **)0, &rcvflg); if (error || auio.uio_resid > 0) { if (auio.uio_resid > 0) { - log(LOG_ERR, + log(LOG_INFO, "nfs/tcp clnt: Peer closed connection, tearing down TCP connection\n"); } else { log(LOG_ERR, |