LWN.net Logo

Ts'o: Delayed allocation and the zero-length file problem

Ts'o: Delayed allocation and the zero-length file problem

Posted Mar 20, 2009 15:04 UTC (Fri) by anton (guest, #25547)
In reply to: Ts'o: Delayed allocation and the zero-length file problem by tialaramex
Parent article: Ts'o: Delayed allocation and the zero-length file problem

If you insist that everything should appear as if it happened in order, then by definition delaying allocation is incompatible with your desires.
By what definition? It's perfectly possible to delay allocation (and writing) as long as desired, and also delay all the other operations that are supposed to happen afterwards (in particular the rename of the same file) until after the allocation and writing has happened. Delayed allocation is a red hering here, the problem is the ordering of the writes.

LinLogFS, which had the goal of providing good crash recovery, did implement delayed allocation.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds