Re: Linux 2.6.29

From: Linus Torvalds
Date: Fri Mar 27 2009 - 14:51:18 EST




On Fri, 27 Mar 2009, Alan Cox wrote:
>
> > So the fact is, "people should always use fsync" simply isn't a realistic
> > expectation, nor is it historically accurate.
>
> Far too many people don't - and it is unfortunate but people should learn
> to write quality software.

You're ignoring reality.

Your definition of "quality software" is PURE SH*T.

Look at that laptop disk spinup issue. Look at the performance issue. Look
at something as nebulous as "usability".

If adding fsync's makes software unusable (and it does), then you
shouldn't call that "quality software".

Alan, just please face that reality, and think about it for a moment. If
fsync() was instantaneous, this discussion wouldn't exist. But read the
thread. We're talking 3-5s under NORMAL load, with peaks of minutes.

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