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: Sun, 27 Jun 2004 08:59:46 +0100
Cc: Nathan Scott <nathans@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <20040627024109.GA1333@iceberg.elsat.net.pl>
References: <20040624121441.GA9419@infradead.org> <20040624135722.GG1323@iceberg.elsat.net.pl> <20040624145545.GA11382@infradead.org> <20040624150307.GH1323@iceberg.elsat.net.pl> <20040624150744.GA11800@infradead.org> <20040624154313.GI1323@iceberg.elsat.net.pl> <20040626212314.GQ1323@iceberg.elsat.net.pl> <20040626220230.GA18504@infradead.org> <20040626221650.GR1323@iceberg.elsat.net.pl> <20040627024109.GA1333@iceberg.elsat.net.pl>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Sun, Jun 27, 2004 at 04:41:09AM +0200, Krzysztof Rusocki wrote:
> > > Hmm, it looks like the pagebuf already got freed by pagebuf_iostrategy
> > > when we hit the next line.
> 
> Indeed, that seems to be it - in 2 hours I've got 26 cases where
> pb->pb_target was altered by pagebuf_iostrategy():
> 
> pagebuf_daemon: pb->pb_target changed! 0xc7ec7e34 -> 0x6b6b6b6b
> (yes that's my trivial check)
> 
> What _possibly_ may be found interesting - original pb_target value is
> constant through all those messages, I'm not familiar with kernel
> or xfs internals enough to say whether it's something usual or not...
> (are pagebufs allocated via slab allocator?)

pagebufs have their own slabm yes, and 0x6b6b6b6b is slab poisoning, aka
the pagebuf has been freed.  As for the previous value beeing the same
I guess you only have very few (maybe just one?) XFS filesystem, and 
pb_targets points to a per-blockdevice structure.

I looked through the code and the target going away (aka the filesystem
beeing unmounted) is also possible in theory.


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