Re: LibPATA code issues / 2.6.15.4

From: Jens Axboe
Date: Tue Feb 28 2006 - 03:03:07 EST


On Mon, Feb 27 2006, Linus Torvalds wrote:
>
>
> On Tue, 28 Feb 2006, Tejun Heo wrote:
>
> > Hello, Mark.
> >
> > Mark Lord wrote:
> > >
> > > .. hold off on 2.6.16 because of this or not?
> > >
> >
> > It certainly is dangerous. I guess we should turn off FUA for the
> > time being. Barrier auto-fallback was once implemented but it
> > didn't seem like a good idea as it was too complex and hides low
> > level bug from higher level. The concensus seems to be developing
> > blacklist of drives which lie about FUA support (currently only one
> > drive). Official kernel doesn't seem to be the correct place to grow
> > the blacklist, Maybe we should do it from -mm?
>
> For 2.6.16, the only sane solution for now is to just turn it off.
>
> Somebody want to send me a patch that does that, along with an ack from
> Mark (and whoever else sees this) that it fixes his/their problems?

That's the best solution right now. I guess there's no way around a
blacklist for FUA support and we need time to grow that :-(
And proper fallback to non-FUA writes with disabling FUA based barriers
as well.

Mark, what drive model+firmware are you using?

--
Jens Axboe

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