From mboxrd@z Thu Jan 1 00:00:00 1970 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 p3T0cc88030449 for ; Thu, 28 Apr 2011 19:38:38 -0500 Received: from ipmail04.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id EDDA741F116 for ; Thu, 28 Apr 2011 17:42:11 -0700 (PDT) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id C7rkVwCoChhYqmEH for ; Thu, 28 Apr 2011 17:42:11 -0700 (PDT) Date: Fri, 29 Apr 2011 10:41:53 +1000 From: Dave Chinner Subject: Re: [PATCH 1/4] xfs: optimize AGFL refills Message-ID: <20110429004153.GU12436@dastard> References: <20110424190613.404786382@bombadil.infradead.org> <20110424190656.644950888@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110424190656.644950888@bombadil.infradead.org> 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: Christoph Hellwig Cc: xfs@oss.sgi.com On Sun, Apr 24, 2011 at 03:06:14PM -0400, Christoph Hellwig wrote: > While we need to make sure we do not reuse busy extents, there is no need > to force out busy extents when moving them between the AGFL and the > freespace btree as we still take care of that when doing the real allocation. > > To avoid the log force when just moving extents from the different free > space tracking structures, move the busy search out of > xfs_alloc_get_freelist into the callers that need it, and move the busy > list insert from xfs_free_ag_extent which is used both by AGFL refills > and real allocation to xfs_free_extent, which is only used by the latter. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Alex Elder Reviewed-by: Dave Chinner -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs