[OpenAFS-devel] Re: progress... sortof...

Neulinger, Nathan nneul@umr.edu
Wed, 28 Apr 2004 20:28:50 -0500


> > I'm going to strip out my existing instrumentation and add=20
> some more to
> > this loop, but if you think of anything useful here, fire me a note,
> > cause I'm able to reproduce this very reliably now on some machines.
>=20
> Maybe you're trying to read past EOF in some files, thereby causing
> FOP_READ to return 0 and you're looping forever.  Probably=20
> the thing to
> do is to break out of the loop if you get 0 return value, in either
> case, just to be robust.  Try that, along with a printk to see if that
> workaround is being hit at all?

Yup. You beat me to the response... adding a

else if ( code =3D=3D 0 )
{
	break;
}

definately fixed the problem... Want a diff, or can you handle the 3
liner? :)

>=20
> -- kolya
>=20
>=20
>=20