Dear experts,

At first reaction to just switching autodefrag on was positive, but mentions of re-duplication are very scary. Main use of BTRFS here is backup snapshots, so re-duplication would be disastrous.

In order to stick to concrete example, let there be two files, 4KB and 4GB in size, referenced in read-only snapshots 100 times each, and some 4KB of both files are rewritten each night and then another snapshot is created (let's ignore snapshots deletion here). AFAIU 8KB of additional space (+metadata) will be allocated each night without autodefrag. With autodefrag will it be perhaps 4KB+128KB or something much worse?

--

With Best Regards,
Marat Khalili

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to