From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526AbcGAXRu (ORCPT ); Fri, 1 Jul 2016 19:17:50 -0400 Received: from smtprelay0052.hostedemail.com ([216.40.44.52]:46400 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752333AbcGAXRs convert rfc822-to-8bit (ORCPT ); Fri, 1 Jul 2016 19:17:48 -0400 X-Session-Marker: 726F737465647440676F6F646D69732E6F7267 X-Spam-Summary: 50,0,0,,d41d8cd98f00b204,rostedt@goodmis.org,:::::::::::::::::,RULES_HIT:41:152:355:379:541:599:800:960:967:968:973:988:989:1260:1263:1277:1311:1313:1314:1345:1359:1434:1437:1513:1515:1516:1518:1521:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2525:2551:2553:2560:2563:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3352:3622:3865:3866:3867:3868:3870:3871:3872:3874:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:5007:6119:6261:6691:7875:7903:8599:9025:10004:10400:10848:10913:10967:11026:11232:11473:11658:11914:12043:12050:12114:12296:12517:12519:12555:12682:12740:12783:13069:13161:13229:13255:13311:13357:13618:14096:14097:14181:14659:14721:21080:21433:30022:30054:30060:30064:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: beef19_9a8184107128 X-Filterd-Recvd-Size: 2357 Date: Fri, 1 Jul 2016 19:17:45 -0400 From: Steven Rostedt To: Trond Myklebust Cc: LKML , Linux NFS Mailing List , Jeff Layton , "Eric Dumazet" , Schumaker Anna , Andrew Morton , Fields Bruce , Torvalds Linus Subject: Re: Revert: SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose Message-ID: <20160701191745.58ba1ef6@gandalf.local.home> In-Reply-To: References: <20160701172401.3ba89015@gandalf.local.home> <0A51DE9E-81B2-474A-BA07-55C3BE19629A@primarydata.com> <20160701183912.1f9d376b@gandalf.local.home> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 1 Jul 2016 23:02:23 +0000 Trond Myklebust wrote: > Can we look into why the socket disconnect is happening in the first > place? It’s presumably not the server, since that _would_ trigger an > autoclose when the socket hits TCP_CLOSE_WAIT. That puts the two top > suspects being the TCP keepalive and the TCP_USER_TIMEOUT. Are there > any tracepoints we could use to look at whether or not they are > triggering a close? There's not many tracepoints, but from my previous emails I added some trace_printk()s and converted some of your debug prints into trace_printk(): +#undef dprintk +#undef dprintk_rcu +#define dprintk(args...) trace_printk(args) +#define dprintk_rcu(args...) trace_printk(args) See my previous email that describes all this (I removed the debugging from my kernel, and I need to spend time with the family so I can't get to this again till Tuesday) http://lkml.kernel.org/r/20160630175618.51a725ee@gandalf.local.home -- Steve