Re: [Qemu-devel] [PATCH 04/12] dirty-bitmap: Track size in bytes

2017-04-12 Thread John Snow
On 04/12/2017 01:49 PM, Eric Blake wrote: > We are still using an internal hbitmap that tracks a size in sectors, > with the granularity scaled down accordingly, because it lets us > use a shortcut for our iterators which are currently sector-based. > But there's no reason we can't track the dirt

[Qemu-devel] [PATCH 04/12] dirty-bitmap: Track size in bytes

2017-04-12 Thread Eric Blake
We are still using an internal hbitmap that tracks a size in sectors, with the granularity scaled down accordingly, because it lets us use a shortcut for our iterators which are currently sector-based. But there's no reason we can't track the dirty bitmap size in bytes, since it is an internal-only