Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p99NmBoM132506 for ; Sun, 9 Oct 2011 18:48:11 -0500 Received: from bombadil.infradead.org (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 9425C4EEBFE for ; Sun, 9 Oct 2011 16:48:10 -0700 (PDT) Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id N43NWHxTPu2IrCr5 for ; Sun, 09 Oct 2011 16:48:10 -0700 (PDT) Date: Sun, 9 Oct 2011 19:48:09 -0400 From: Christoph Hellwig Subject: Re: [PATCH 4/5] repair: don't cache large blkmap allocations Message-ID: <20111009234809.GB13527@infradead.org> References: <1318201910-11144-1-git-send-email-david@fromorbit.com> <1318201910-11144-5-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1318201910-11144-5-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com > + /* consider more than 100k extents rare */ > + if (blkmap->naexts < 100 * 1024) > + return; 100k extents still seems like a fairly high number. Otherwise looks okay. (If only we had a non-sucky threaded memory allocator in userspace..) _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs