From dcee1d0771cdfbc6cd6f940dc79156ddce5f6080 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Mon, 18 Apr 2005 13:42:13 +0000 Subject: [PATCH] TCP reconnect is not an error. Change the message from LOG_ERR to LOG_INFO. Approved by: alfred --- sys/nfsclient/nfs_socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c index de58cd11aa4..0ba8351b26b 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,