On 09/27/2012 04:29 PM, Benoît Canet wrote: > This patchset introduce a partial implementation of a deduplication mechanism > for QCow2. > This patchset layout the disk format changes in the qcow2 spec and > provide a partial implementation of the write mechanisms. > > Albeit being partial this is posted to get an early feedback and > see if things are on track.
If I understood correctly, this does cluster-level dedup within a qcow2 image. What is the motivation here? Reduce space usage if a guest copies files internally? Why use cluster granularity? If the guest uses smaller granularity, it will misalign the data wrt cluster boundaries, and deduplication will fail. -- error compiling committee.c: too many arguments to function