On Friday 13 August 2010 19:05:50 Henrik Grindal Bakken wrote:
> Charles Manning <manningc2@actrix.gen.nz> writes:
> > On Thursday 12 August 2010 19:13:21 Henrik Grindal Bakken wrote:
> >> That appears to work.
> >
> > Thanks for checking that out. I can now determine what is broken and
> > fix it.
> >
> > I'll add that to my todo list...
>
> Excellent. I'll be watching the commits. Please let me know if
> there's anything I can do to help.
>
> >> Do you have an explanation for why it seems to keep files with
> >> content, but not the empty ones?
> >
> > I could make some guesses, but I would not swear on them.
> >
> > I think it might be do with the way sync works. IIRC, sync makes two
> > passes. The first flushes dirty files and the second
> > metadata. Perhaps that's the reason.
>
> Sounds plausible.
Please check the latest git.
All writes now mark the superblock dirty.
-- Charles