Return-Path: Received: from mailout-de.gmx.net ([213.165.64.23]:57807 "HELO mailout-de.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755069Ab1G0VV5 (ORCPT ); Wed, 27 Jul 2011 17:21:57 -0400 From: =?iso-8859-1?q?R=FCdiger_Meier?= To: Christoph Hellwig Subject: Re: 2.6.xx: NFS: directory motion/cam2 contains a readdir loop Date: Wed, 27 Jul 2011 23:21:45 +0200 Cc: Bryan Schumaker , Justin Piszcz , "J. Bruce Fields" , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, xfs@oss.sgi.com References: <201107272227.03265.sweet_f_a@gmx.de> <20110727204724.GA21314@infradead.org> In-Reply-To: <20110727204724.GA21314@infradead.org> Content-Type: text/plain; charset="iso-8859-1" Message-Id: <201107272321.54030.sweet_f_a@gmx.de> Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 On Wednesday 27 July 2011, Christoph Hellwig wrote: > On Wed, Jul 27, 2011 at 10:26:55PM +0200, R?diger Meier wrote: > > At the time I've started this thread > > http://comments.gmane.org/gmane.linux.nfs/40863 > > I had the feeling that the readdir cache changings in 2.6.37 have > > something to do with these loop problems. > > > > After that thread I've accepted that's a general problem with > > ext4/dirindex and nfs but seeing it again on xfs with just 5000 > > files I'm in doubt again. > > Two separate issues. [...] Yup, I didn't wanted to say that I'm in doubt about the general ext4/dirindex problem but I'am still in doubt about the complete innocence of readdir cache. I guess I've run into both issues at that time. I remember that I couldn't easily create such "broken" dir from scratch but my users managed it to have dozens of them, often just about 30000 files. Somehow it seemed to be important that the dirs were growing in a natural way. However no probs again since with xfs and ext4 without dirindex. But still the feeling that upgrading to 2.6.37 was also a part of the problem. cu, Rudi