From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 2/2] xfs: kick inode writeback when low on memory Date: Fri, 15 Apr 2011 04:09:16 -0400 Message-ID: <20110415080915.GA10619@infradead.org> References: <1302157196-1988-1-git-send-email-david@fromorbit.com> <1302157196-1988-3-git-send-email-david@fromorbit.com> <1302726822.2023.128.camel@doink> <20110414050846.GJ21395@dastard> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alex Elder , linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com To: Dave Chinner Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:34269 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755472Ab1DOIJR (ORCPT ); Fri, 15 Apr 2011 04:09:17 -0400 Content-Disposition: inline In-Reply-To: <20110414050846.GJ21395@dastard> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Apr 14, 2011 at 03:08:46PM +1000, Dave Chinner wrote: > Unfortunately, we simply can't take the s_umount lock in reclaim > context. So further hackery is going to be required here - I think > that writeback_inodes_sb_nr_if_idle() need to use trylocks. if the > s_umount lock is taken in write mode, then it's pretty certain that > the sb is busy.... http://thread.gmane.org/gmane.linux.file-systems/48373/focus=48628