Article XPGF Luu: Files are hard

Luu: Files are hard

by
corbet
from LWN.net on (#XPGF)
Here is a lengthy postingfrom Dan Luu on why it is so hard to safely write files on Unix-likesystems. It comes down to a combination of POSIX semantics and filesystembugs. "Something to note here is that while btrfs's semantics aren'tinherently less reliable than ext3/ext4, many more applications corruptdata on top of btrfs because developers aren't used to coding againstfilesystems that allow directory operations to be reordered (ext2 was theonly other filesystem that allowed that reordering). We'll probably see asimilar level of bug exposure when people start using NVRAM drives thatonly have byte-level atomicity. People almost always just run some tests tosee if things work, rather than making sure they're coding against what'slegal in a POSIX filesystem."
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments