From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay2.corp.sgi.com [137.38.102.29]) by oss.sgi.com (Postfix) with ESMTP id C005A7FB8 for ; Tue, 10 Dec 2013 18:28:02 -0600 (CST) Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by relay2.corp.sgi.com (Postfix) with ESMTP id ADA12304032 for ; Tue, 10 Dec 2013 16:27:59 -0800 (PST) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id xnKCqiptgqGzCIxW for ; Tue, 10 Dec 2013 16:27:57 -0800 (PST) Date: Wed, 11 Dec 2013 11:27:53 +1100 From: Dave Chinner Subject: Re: Filesystem writes on RAID5 too slow Message-ID: <20131211002753.GD10988@dastard> References: <528A5C45.4080906@redhat.com> <20131119005740.GY6188@dastard> <20131121092606.GU11434@dastard> <20131121234116.GD6502@dastard> <20131210191803.GA31162@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20131210191803.GA31162@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 Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Christoph Hellwig Cc: Martin Boutin , "Kernel.org-Linux-RAID" , xfs-oss , "Kernel.org-Linux-EXT4" , Eric Sandeen On Tue, Dec 10, 2013 at 11:18:03AM -0800, Christoph Hellwig wrote: > > xfs: align initial file allocations correctly. > > > > From: Dave Chinner > > > > The function xfs_bmap_isaeof() is used to indicate that an > > allocation is occurring at or past the end of file, and as such > > should be aligned to the underlying storage geometry if possible. > > > > Commit 27a3f8f ("xfs: introduce xfs_bmap_last_extent") changed the > > behaviour of this function for empty files - it turned off > > allocation alignment for this case accidentally. Hence large initial > > allocations from direct IO are not getting correctly aligned to the > > underlying geometry, and that is cause write performance to drop in > > alignment sensitive configurations. > > > > Fix it by considering allocation into empty files as requiring > > aligned allocation again. > > Seems like this one didn't get picked up yet? I'm about to resend all my outstanding patches... Cheers, Dave. -- Dave Chinner david@fromorbit.com _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs