From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay1.corp.sgi.com [137.38.102.111]) by oss.sgi.com (Postfix) with ESMTP id 9DEBF7F3F for ; Tue, 23 Jul 2013 16:15:31 -0500 (CDT) Message-ID: <51EEF26F.5040001@sgi.com> Date: Tue, 23 Jul 2013 16:15:27 -0500 From: Mark Tinguely MIME-Version: 1.0 Subject: Re: [PATCH 44/49] xfs: Reduce allocations during CIL insertion References: <1374215120-7271-1-git-send-email-david@fromorbit.com> <1374215120-7271-45-git-send-email-david@fromorbit.com> In-Reply-To: <1374215120-7271-45-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: xfs-bounces@oss.sgi.com Sender: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On 07/19/13 01:25, Dave Chinner wrote: > From: Dave Chinner > > Now that we have the size of the object before the formatting pass > is called, we can allocation the log vector and it's buffer in a > single allocation rather than two separate allocations. > > Store the size of the allocated buffer in the log vector so that > we potentially avoid allocation for future modifications of the > object. > > While touching this code, remove the IOP_FORMAT definition. > > Signed-off-by: Dave Chinner Looks good. Reviewed-by: Mark Tinguely _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs