On Tue, 10 Jun 2008, Nicolas Pitre wrote: > > I think this only gives a false sense of security with a huge > performance cost. If the machine crashes at the right moment, the > object will still be half written/fsync'd and you'll be in the same > situation again. No you wouldn't. We do the write and the fsync() of the write to a _temporary_ filename. We do the rename _after_ the fsync. So you'd never have a half-written object file. That said, I do agree that the bigger problem is that Denis' machine is simply so unreliable. Linus -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html