From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: with ECARTIS (v1.0.0; list xfs); Tue, 18 Dec 2007 07:20:04 -0800 (PST) Received: from larry.melbourne.sgi.com (larry.melbourne.sgi.com [134.14.52.130]) by oss.sgi.com (8.12.11.20060308/8.12.11/SuSE Linux 0.7) with SMTP id lBIFJq57010580 for ; Tue, 18 Dec 2007 07:19:57 -0800 Date: Wed, 19 Dec 2007 02:19:47 +1100 From: David Chinner Subject: Re: Important regression with XFS update for 2.6.24-rc6 Message-ID: <20071218151946.GQ4396912@sgi.com> References: <20071218112804.GA3069@localhost.localdomain> <20071218122445.GJ4396912@sgi.com> <877ijckrco.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877ijckrco.fsf@free.fr> Sender: xfs-bounce@oss.sgi.com Errors-to: xfs-bounce@oss.sgi.com List-Id: xfs To: Damien Wyart Cc: David Chinner , Christoph Hellwig , Lachlan McIlroy , Peter Leckie , Linus Torvalds , linux-xfs@oss.sgi.com, LKML On Tue, Dec 18, 2007 at 03:30:31PM +0100, Damien Wyart wrote: > * David Chinner [071218 13:24]: > > Ok. I haven't noticed anything wrong with directories up to about > > 250,000 files in the last few days. The ls -l I just did on > > a directory with 15000 entries (btree format) used about 5MB of RAM. > > extent format directories appear to work fine as well (tested 500 > > entries). > > Ok, nice to know the problem is not so frequent. ..... > I have put the files at http://damien.wyart.free.fr/xfs/ > > strace_xfs_problem.1.gz and strace_xfs_problem.2.gz have been created > with the problematic kernel, and are quite bigger than > strace_xfs_problem.normal.gz, which has been created with the vanilla > rc5-git5. There is also xfs_info. Looks like several getdents() through the directory the getdents() call starts outputting the first files again. It gets to a certain point and always goes back to the beginning. However, it appears to get to the end eventually (without ever getting past the bad offset). I'll ook into this more in the morning as it's not obvious what is wrong in my sleep-deprived state.... Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group