xfs
[Top] [All Lists]

Re: [PATCH 2/2] xfs: kick inode writeback when low on memory

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 2/2] xfs: kick inode writeback when low on memory
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Fri, 15 Apr 2011 04:09:16 -0400
Cc: Alex Elder <aelder@xxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx
In-reply-to: <20110414050846.GJ21395@dastard>
References: <1302157196-1988-1-git-send-email-david@xxxxxxxxxxxxx> <1302157196-1988-3-git-send-email-david@xxxxxxxxxxxxx> <1302726822.2023.128.camel@doink> <20110414050846.GJ21395@dastard>
User-agent: Mutt/1.5.21 (2010-09-15)
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

<Prev in Thread] Current Thread [Next in Thread>