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

I have found a blog post from 2009 about this issue[1]. I think the "recent Ubuntu bug [that] has gotten slashdotted" is [2], so I think the most technical discussion about this would be [2].

I also found an interesting "scar tissue" from that bug in the current ext4 docs[0]:

"If auto_da_alloc is enabled, ext4 will detect the replace-via-rename and replace-via-truncate patterns and force that any delayed allocation blocks are allocated such that at the next journal commit, in the default data=ordered mode, the data blocks of the new file are forced to disk before the rename() operation is committed. This provides roughly the same level of guarantees as ext3, and avoids the “zero-length” problem that can happen when a system crashes before the delayed allocation blocks are forced to disk."

[0]https://docs.kernel.org/admin-guide/ext4.html

[1] https://thunk.org/tytso/blog/2009/03/12/delayed-allocation-a...

[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/317781



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

Search: