xfs
[Top] [All Lists]

Re: Filesystem kernel hangup, 2.6.3 (bad: scheduling while atomic!)

To: Mikael Wahlberg <mikael.wahlberg@xxxxxxxxxx>
Subject: Re: Filesystem kernel hangup, 2.6.3 (bad: scheduling while atomic!)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 23 Feb 2004 13:13:31 +0000
Cc: linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Per Lejontand <pele@xxxxxxxxxx>, Jonas Engström <jonas@xxxxxxxxxx>
In-reply-to: <1077541689.1247.12.camel@harrier>; from mikael.wahlberg@xxxxxxxxxx on Mon, Feb 23, 2004 at 02:08:09PM +0100
Mail-followup-to: Christoph Hellwig <hch@xxxxxxxxxxxxx>, Mikael Wahlberg <mikael.wahlberg@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-xfs@xxxxxxxxxxx, Per Lejontand <pele@xxxxxxxxxx>, Jonas Engström <jonas@xxxxxxxxxx>
References: <20040222164941.D6046@xxxxxxxxxxxxxx> <20040223121959.A8354@xxxxxxxxxxxxx> <1077541689.1247.12.camel@harrier>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
On Mon, Feb 23, 2004 at 02:08:09PM +0100, Mikael Wahlberg wrote:
> If you need any more information please tell us, it is quite urgent for
> us, since we really don't want to go back to 2.4, the performance
> increase with 2.6 is really impressive (Except when it crashes :) 

Can you check whether the small patch below gets rid of you problems?
It still wouldn't explain the JFS problems, though.

--- 1.59/fs/xfs/linux/xfs_aops.c        Mon Feb  9 05:39:27 2004
+++ edited/fs/xfs/linux/xfs_aops.c      Mon Feb 23 15:11:33 2004
@@ -1170,7 +1170,7 @@
        if (!delalloc && !unwritten)
                goto free_buffers;
 
-       if (!(gfp_mask & __GFP_FS))
+       if ((gfp_mask & (__GFP_FS|__GFP_WAIT)) != (__GFP_FS|__GFP_WAIT))
                return 0;
 
        /* If we are already inside a transaction or the thread cannot


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