Re: XFS: how to NOT null files on fsck?

Anton Ertl
2004-07-14T19:03:24Z

Helge Hafting wrote:
> There is another solution - zero blocks when freeing them. (Or
> put them on a list for later zeroing when the fs isn't busy,
> in order to kee=EF=BF=BD=EF=BF=BDp good performance)
>
> With this approach you don't need to zero a half-written
> block after a crash, which means you destroy less data.

I don't think half-written blocks are the problem (at least not a
frequent one). More typical is written meta-data without written
data. In that case your solution will give the same result as the
current solution, just at higher cost.

- anton