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 p66Da5O2122225 for ; Wed, 6 Jul 2011 08:36:05 -0500 Subject: Re: [PATCH 02/27] xfs: re-enable non-blocking behaviour in xfs_map_blocks From: Alex Elder In-Reply-To: <20110706063700.GA4508@infradead.org> References: <20110701094321.936534538@bombadil.infradead.org> <20110701094602.465074143@bombadil.infradead.org> <1309905319.1950.48.camel@doink> <20110706063700.GA4508@infradead.org> Date: Wed, 6 Jul 2011 08:36:01 -0500 Message-ID: <1309959361.1931.2.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: Christoph Hellwig Cc: xfs@oss.sgi.com On Wed, 2011-07-06 at 02:37 -0400, Christoph Hellwig wrote: > On Tue, Jul 05, 2011 at 05:35:19PM -0500, Alex Elder wrote: > > On Fri, 2011-07-01 at 05:43 -0400, Christoph Hellwig wrote: > > > The non-blockig behaviour in xfs_map_blocks currently is conditional on > > > having both the WB_SYNC_NONE sync_mode and the nonblocking flag set. > > > The latter used to be used by both pdflush, kswapd and a few other places > > > in older kernels, but has been fading out starting with the introduction > > > of the per-bdi flusher threads. > > > > > > Enable the non-blocking behaviour for all WB_SYNC_NONE calls to get back > > > the behaviour we want. > > > > The subject line should refer to xfs_vm_writepage() > > (not xfs_map_blocks()). Unless I hear otherwise I > > will plan to change that for you. > > Well, the actual xfs_ilock_nowait call is in xfs_map_blocks, the logic > controlling it in xfs_vm_writepage, so either one is fine. You're right. Nevermind. -Alex _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs