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>
|