Re: Linux 2.6.29

From: Alan Cox
Date: Fri Mar 27 2009 - 14:36:48 EST


> Don't be silly. If you want data corruption, then you make people write
> threaded applications. Yes, you may work for Intel now, but that doesn't
> mean that you have to drink the insane cool-aid. Threading is HARD. Async
> stuff is HARD.

Which is why you do it once in a library and express it as events. The
gtk desktop already does this and the event model it provides is rather
elegant and can handle this neatly and cleanly for the user.

> But I also think that the "we write meta-data synchronously, but then the
> actual data shows up at some random later time" is just crazy talk. That's
> simply insane. It _guarantees_ that there will be huge windows of times
> where data simply will be lost if something bad happens.

Agreed - apps not checking for errors is sloppy programming however given
they make errors we don't want to make it worse. I wouldn't argue with
that - for the same reason that cars are designed on the basis that their
owners are not competent to operate them ;)

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