xfs
[Top] [All Lists]

Re: xfs oops (CVS-2004-05-15_05:00_UTC)

To: Krzysztof Rusocki <kszysiu@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: xfs oops (CVS-2004-05-15_05:00_UTC)
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Thu, 24 Jun 2004 11:58:51 +0100
Cc: Nathan Scott <nathans@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040623131611.GE1323@iceberg.elsat.net.pl>
References: <20040529155852.GA30391@iceberg.elsat.net.pl> <20040604130816.GA12556@iceberg.elsat.net.pl> <20040621010330.GA1295@iceberg.elsat.net.pl> <20040621021505.GA1173@frodo> <20040621025905.GA1323@iceberg.elsat.net.pl> <20040621072906.GD1656@frodo> <20040622082906.GA2093@frodo> <20040623084922.GD1323@iceberg.elsat.net.pl> <20040623203639.A1670881@wobbly.melbourne.sgi.com> <20040623131611.GE1323@iceberg.elsat.net.pl>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Wed, Jun 23, 2004 at 03:16:11PM +0200, Krzysztof Rusocki wrote:
> It seems that changes included in 1.1371.750.18 may be responsible
> for discussed behavior. Machine's been running without problems
> for over 5 hours now. I'll stress it more and let know whether
> this state is persistent.

Can you try running with the patch below?  This seems to be the only
thing in the cset that could scribble over random memory.  OTOH your
first posting says the linvfs_icache has been sribbled over and pagebuf
doesn't get anywhere the inodes.


--- 1.116/fs/xfs/linux-2.6/xfs_buf.c    2004-05-28 03:45:07 +02:00
+++ edited/fs/xfs/linux-2.6/xfs_buf.c   2004-06-24 12:51:25 +02:00
@@ -312,6 +312,12 @@
 
        ASSERT(list_empty(&bp->pb_hash_list));
 
+       if (!bp->pb_pages) {
+               printk("pagebuf without pb_pages?\n");
+               dump_stack();
+               goto out;
+       }
+
        if (bp->pb_flags & _PBF_PAGE_CACHE) {
                uint            i;
 
@@ -331,6 +337,7 @@
                _pagebuf_free_pages(bp);
        }
 
+ out:
        pagebuf_deallocate(bp);
 }
 


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