From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.sgi.com (relay3.corp.sgi.com [198.149.34.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p051qxck074489 for ; Tue, 4 Jan 2011 19:53:00 -0600 Subject: Re: [PATCH 7/8] xfs: factor common write setup code From: Alex Elder In-Reply-To: <1294116518-14908-8-git-send-email-david@fromorbit.com> References: <1294116518-14908-1-git-send-email-david@fromorbit.com> <1294116518-14908-8-git-send-email-david@fromorbit.com> Date: Tue, 04 Jan 2011 19:55:07 -0600 Message-ID: <1294192507.2485.728.camel@doink> Mime-Version: 1.0 Reply-To: aelder@sgi.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 On Tue, 2011-01-04 at 15:48 +1100, Dave Chinner wrote: > From: Dave Chinner > > The buffered IO and direct Io write paths share a common set of > checks and limiting code prior to issuing the write. Factor that > into a common helper function. Looks good. Reviewed-by: Alex Elder > Signed-off-by: Dave Chinner > --- > fs/xfs/linux-2.6/xfs_file.c | 129 ++++++++++++++++++++----------------------- > 1 files changed, 59 insertions(+), 70 deletions(-) > > diff --git a/fs/xfs/linux-2.6/xfs_file.c b/fs/xfs/linux-2.6/xfs_file.c > index 7e7805c..f21b6ad 100644 > --- a/fs/xfs/linux-2.6/xfs_file.c _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs