On Tue, Dec 06, 2011 at 02:35:03PM -0200, Marcelo Tosatti wrote: > > Right, we can probably generalise the qcow2 code and make it available > > for other drivers as well. > > Hum, generalising sounds overly complicated (and there is a time > constraint to this). IMHO a cache internal to add-cow.c just to avoid > reading the entire bitmap would do the trick.
(and writes must go through the cache too, of course).