HAMMER2 - leaking disk size

Volodymyr Kostyrko arcade at b1t.name
Fri Jan 29 10:44:45 PST 2016


Matthew Dillon wrote:
> Ah.  That could just be an artifact of the dedup feature.  At the moment
> the calculation is a bit of a hack.  What it is reporting is the amount
> of space used if the files were not deduplicated.  In order to make the
> free space come out properly to be the actual number of bytes of free
> space, it has to modify the reported total size of the partition to
> account for the compression.
>
> What I will probably end up doing is changing the 'df' output to report
> the actual blocks used and free so the total doesn't change, which
> requires accounting for it somewhat differently.  Right now it accounts
> for usage by using the bytes allocated fields in the blockref which are
> aggregated as they move up the tree to the root.

Yes, periodically running bulkfree makes disk appear bigger again. 
Probably my fault, man page doesn't state anywhere that this is required 
for hammer2.

-- 
Sphinx of black quartz judge my vow.



More information about the Hammer mailing list