From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Wise Subject: Re: mxl4 and rpcrdma: connection to 192.168.0.100:20049 on mlx4_0, memreg 5 slots 32 ird 16 Date: Thu, 18 Nov 2010 11:41:12 -0600 Message-ID: <4CE56538.3040700@opengridcomputing.com> References: <4CE41458.7020202@opengridcomputing.com> <4CE5640F.6040005@opengridcomputing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4CE5640F.6040005-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Roland Dreier Cc: Stephen Cousins , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On 11/18/2010 11:36 AM, Steve Wise wrote: > On 11/17/2010 07:12 PM, Roland Dreier wrote: >> > > Nov 15 09:39:00 node4 kernel: rpcrdma: connection to >> > > 192.168.0.100:20049 on mlx4_0, memreg 5 slots 32 ird 16 >> > > >> > > and then 5 minutes later: >> > > >> > > Nov 15 09:44:00 node4 kernel: rpcrdma: connection to >> > > 192.168.0.100:20049 closed (-103) >> > > >> > > >> > >> > I think NFSRDMA server will close the connection after 5 minutes of >> > inactivity... >> >> Should the code be spamming the logs for normal events? (Or is this >> with an elevated log level) > > IMO its not needed. From net/sunrpx/xprtrdma/verbs.c (nfsrdma client): > > [root@r10 xprtrdma]# grep "connection to" *.c > verbs.c: printk(KERN_INFO "rpcrdma: connection to %pI4:%u " > verbs.c: printk(KERN_INFO "rpcrdma: connection to %pI4:%u > closed (%d)\n", > [root@r10 xprtrdma]# > > > Looks like its surrounded by #ifdef RPC_DEBUG though. And RPC_DEBUG seems to be always turned on: From include/linux/sunrpc/debug.h: /* * Enable RPC debugging/profiling. */ #ifdef CONFIG_SYSCTL #define RPC_DEBUG #endif However, maybe these two printk's should just be dprintks... -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html