From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id q8SCXO4v222513 for ; Fri, 28 Sep 2012 07:33:24 -0500 Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id yRed5Ni718WuJMW5 (version=TLSv1 cipher=AES256-SHA bits=256 verify=NO) for ; Fri, 28 Sep 2012 05:34:43 -0700 (PDT) Date: Fri, 28 Sep 2012 08:34:43 -0400 From: Christoph Hellwig Subject: Re: [PATCH 06/13] xfs: xfs_sync_data is redundant. Message-ID: <20120928123443.GD14284@infradead.org> References: <1348807485-20165-1-git-send-email-david@fromorbit.com> <1348807485-20165-7-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1348807485-20165-7-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 > /* > + * Flush all dirty data to disk. Must not be called while holding an XFS_ILOCK slightly too long line. > + * or a page lock. > + */ > +static inline void > +xfs_flush_inodes(struct xfs_inode *ip) > +{ > + writeback_inodes_sb_if_idle(VFS_I(ip)->i_sb, WB_REASON_FS_FREE_SPACE); > +} Passing an inode here seems very odd, an xfs_mount would be the proper interface. Looks fine modulo these cosmetic changes, so: Reviewed-by: Christoph Hellwig _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs