From: Paulo Marques Subject: Re: very poor ext3 write performance on big filesystems? Date: Tue, 19 Feb 2008 18:58:19 +0000 Message-ID: <47BB26CB.8010705@grupopie.com> References: <47B980AC.2080806@wpkg.org> <20080218141640.GC12568@mit.edu> <47BB2008.6070202@rtr.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Theodore Tso , Andi Kleen , Tomasz Chmielewski , LKML , LKML To: Mark Lord Return-path: Received: from bipbip.grupopie.com ([195.23.16.24]:53980 "EHLO bipbip.grupopie.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752399AbYBSS6V (ORCPT ); Tue, 19 Feb 2008 13:58:21 -0500 In-Reply-To: <47BB2008.6070202@rtr.ca> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Mark Lord wrote: > Theodore Tso wrote: > .. >> The following ld_preload can help in some cases. Mutt has this hack >> encoded in for maildir directories, which helps. > .. > > Oddly enough, that same spd_readdir() preload craps out here too > when used with "rm -r" on largish directories. From looking at the code, I think I've found at least one bug in opendir: ... > dnew = realloc(dirstruct->dp, > dirstruct->max * sizeof(struct dir_s)); ... Shouldn't this be: "...*sizeof(struct dirent_s));"? -- Paulo Marques - www.grupopie.com "Nostalgia isn't what it used to be."