From: Andrew W Elble Date: Mon, 05 Oct 2015 13:10:45 -0400 Subject: [Cluster-devel] GFS2 deadlock In-Reply-To: <673421950.40526151.1444061756793.JavaMail.zimbra@redhat.com> (Bob Peterson's message of "Mon, 5 Oct 2015 12:15:56 -0400") References: <673421950.40526151.1444061756793.JavaMail.zimbra@redhat.com> Message-ID: List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit > Hi Andy, > > Can you tell me how you recreated this problem? Seems like a test > we should automate and check regularly in our regression testing. I'd love to - except the environment that generated it is somewhat beyond my control (shared hosting for ~4000 websites). The filename seems to indicate it was a cache file for mod_custom/Joomla? Unfortunately, my regular packet capture of the nfs-side of things was not running when this happened. Hopefully if it happens again, that will be running. We only ran into this after roughly a week of testing, it might be a while... > At any rate, the nfs code path is the only one that calls gfs2_ilookup > with non_block set to 0. So if we do that, we might as well get rid > of the parameter entirely. I suspect your problem goes deeper than > this, and I'd like to understand the problem in more detail. > > At any rate, you're right: my latest set of patches will hopefully > eliminate the problem and allow for a smoother transition from unlinked > to deleted. If there's still a problem, I want to know about it and > recreate it as soon as possible. I've rebased your patches on 4.1.10, and we'll be staging them into the environment here today/tomorrow. I've added a '-' flag for GLF_INODE_DELETING in show_glock_flags() in trace_gfs2.h Thanks, Andy -- Andrew W. Elble aweits at discipline.rit.edu Infrastructure Engineer, Communications Technical Lead Rochester Institute of Technology PGP: BFAD 8461 4CCF DC95 DA2C B0EB 965B 082E 863E C912