[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC V3 01/24] qcow2: Add deduplication to the qcow2 sp
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [RFC V3 01/24] qcow2: Add deduplication to the qcow2 specification. |
Date: |
Tue, 18 Dec 2012 14:38:06 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Dec 12, 2012 at 04:57:38PM +0100, Benoît Canet wrote:
> > Can you foresee the need to use a different hash algorithm in the future
> > and should we add a hash_algo enum field to the dedup QCOW2 header
> > extension?
>
> Yes I foresee the future use of faster hash function like SHA3 or Skein.
>
> I also think an alternate deduplication mechanism where lookups are done
> on disk in order to be able to deduplicate very large volume could be added.
>
> What would be the cleanest way to store this in the header extension ?
> bitmaps or two char fields ?
The header extension could have a uint8_t hash_algo field (and 3
reserved bytes that can be used in the future).
0 - SHA256
1 - Skein
...
Stefan