Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

True, and you can even turn data journaling on. The problem is... what is an "atomic write" from the perspective of an application? There is no POSIX interface for that. Of course making a single 'write()' syscall atomic, and so forth is a good thing, but... that's not an application level 'transaction' necessarily. Libc has buffering between fwrite and write... that's pretty arbitrary (fflush notwithstanding). Also: Dirty read (A) -> Writes that are committed, but the data read (A) doesn't get committed. Uh, oh!

The problem is a thorough lack of semantics on file systems. It's the wild west.

ACID was a good start for databses, but even that is pretty vendor specific in the specifis... and nobody truly understands the basics of it anyway.

It's a difficult problem.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: