Mixed dedup and compression
authorBar David <bardavvid@gmail.com>
Sun, 24 Oct 2021 10:59:50 +0000 (13:59 +0300)
committerBar David <bardavvid@gmail.com>
Sun, 21 Nov 2021 07:16:59 +0000 (09:16 +0200)
commiteb57e710557147c880ade7568538ad7435a6f0dd
tree8cf87738aa07a5b909d46dc3aadde2ba4c0eb5ba
parent9f51d89c683d70cd8ab23ba09ec6e628a548af5a
Mixed dedup and compression

Introducing support for dedupe and compression
on the same job. When used together, compression is
calculated from unique capacity. E.g. when using
dedupe_percentage=50 and buffer_compress_percentage=50,
then total reduction should be 75% - 50% would be deduped
while 50% of the remaining buffers would be compressed

Signed-off-by: Bar David <bardavvid@gmail.com>
DEDUPE-TODO
dedupe.c
io_u.c