Re: I/O errors in -test7-mm1 tree on ia64

From: Jesse Barnes
Date: Fri Oct 17 2003 - 17:16:55 EST


On Fri, Oct 17, 2003 at 12:13:57PM +0200, Jens Axboe wrote:
> > --- fs/xfs/pagebuf/page_buf.c 2003-10-17 12:11:30.000000000 +0200
> > +++ fs/xfs/pagebuf/page_buf.c~ 2003-10-17 12:11:19.000000000 +0200
> > @@ -1406,10 +1406,8 @@
> > int cmd = WRITE;
> > if (pb->pb_flags & PBF_READ)
> > cmd = READ;
> > -#if 0
> > else if (pb->pb_flags & PBF_FLUSH)
> > cmd = WRITESYNC;
> > -#endif
> > submit_bio(cmd, bio);
> > if (size)
> > goto next_chunk;
> >
> > it was a mistake to enable barriers unconditionally on XFS when it has
> > no fallback logic. If you apply the above on test7-mm1, it should work
> > fine for you.
>
> Patch is reversed, you need to use -R. Funky.

That did the trick. Thanks.

Jesse
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/