xfs
[Top] [All Lists]

Re: 2.5.47 XFS over MD RAID-0 broken

To: Andi Kleen <ak@xxxxxx>
Subject: Re: 2.5.47 XFS over MD RAID-0 broken
From: Stephen Lord <lord@xxxxxxx>
Date: 17 Nov 2002 07:16:06 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20021116225706.GA1976@averell>
References: <20021116225706.GA1976@averell>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sat, 2002-11-16 at 16:57, Andi Kleen wrote:
> When trying to mount an XFS file system on a RAID-0 MD in 2.5.47
> one gets an oops during log replay.

Andi,

It looks like a zero length bio structure was submitted for I/O.
Question is, how did it get to be zero length.

Actually, this function is probably the culprit:

        xlog_find_verify_cycle

Could you make it print the values of i and bcount before calling 
xlog_bread. The initial values of all the variables fed into this
loop would be good too:

        for (i = start_blk; i < start_blk + nbblks; i += bufblks)  {
                int bcount = min(bufblks, (start_blk + nbblks - i));
 
                if ((error = xlog_bread(log, i, bcount, bp)))
                        goto out; 

This code had some major tweaking for linux, the logic looks ok
to me, but its early in the morning here.


Steve
 
-- 
Stephen  Lord <lord@xxxxxxx>


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