David McPaul <dlmcpaul@xxxxxxxxx> wrote: > > I guess I should rethink when and how BFS trims back directory > > inodes. > > The haiku sources have 85556 files today, and over 20000 > > directories. > > So the maxium loss should be around 1.2 GB which is a bit much to > > be > > acceptable. If directories would only preallocate 4K, the maximum > > loss > > would only be 80 MB which I think is quite okay and would be a > > pretty > > simple solution. > 80Mb slack space is better than what I am seeing. This is what you should now see, ie. with a current revision :-) > Is this 80Mb lost forever or will checkfs recover it? deleting the > directory? It might be lost theoretically (depends on what happens with the directory), but deleting would always recover it. I could also have BFS trim inodes on load when needed, or have at least checkfs do that. Bye, Axel.