Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-26 Thread Fam Zheng
On Tue, 01/26 10:49, Vladimir Sementsov-Ogievskiy wrote: > On 26.01.2016 09:25, Fam Zheng wrote: > >On Fri, 01/22 15:05, Vladimir Sementsov-Ogievskiy wrote: > >>>In my migration series I need iterators, get granularity, and > >>>something like hbitmap_count for meta bitmaps. You can add them >

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-25 Thread Vladimir Sementsov-Ogievskiy
On 26.01.2016 09:25, Fam Zheng wrote: On Fri, 01/22 15:05, Vladimir Sementsov-Ogievskiy wrote: In my migration series I need iterators, get granularity, and something like hbitmap_count for meta bitmaps. You can add them here if you want, or I can add them in my series. Okay, I can add that.

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-25 Thread Fam Zheng
On Fri, 01/22 14:34, Vladimir Sementsov-Ogievskiy wrote: > >+void bdrv_create_meta_dirty_bitmap(BdrvDirtyBitmap *bitmap, > >+ int granularity) > >+{ > >+assert(!bitmap->meta); > >+bitmap->meta = hbitmap_create_meta(bitmap->bitmap, > >+

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-25 Thread Fam Zheng
On Fri, 01/22 15:05, Vladimir Sementsov-Ogievskiy wrote: > >In my migration series I need iterators, get granularity, and > >something like hbitmap_count for meta bitmaps. You can add them > >here if you want, or I can add them in my series. Okay, I can add that. I have one more question on the

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-25 Thread John Snow
On 01/20/2016 01:11 AM, Fam Zheng wrote: > The added group of operations enables tracking of the changed bits in > the dirty bitmap. > > Signed-off-by: Fam Zheng Reviewed-by: John Snow > --- > block/dirty-bitmap.c | 51 >

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-22 Thread Vladimir Sementsov-Ogievskiy
On 20.01.2016 09:11, Fam Zheng wrote: The added group of operations enables tracking of the changed bits in the dirty bitmap. Signed-off-by: Fam Zheng --- block/dirty-bitmap.c | 51 include/block/dirty-bitmap.h | 9

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-22 Thread Vladimir Sementsov-Ogievskiy
On 20.01.2016 09:11, Fam Zheng wrote: The added group of operations enables tracking of the changed bits in the dirty bitmap. Signed-off-by: Fam Zheng --- block/dirty-bitmap.c | 51 include/block/dirty-bitmap.h | 9

Re: [Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-22 Thread Vladimir Sementsov-Ogievskiy
On 22.01.2016 14:58, Vladimir Sementsov-Ogievskiy wrote: On 20.01.2016 09:11, Fam Zheng wrote: The added group of operations enables tracking of the changed bits in the dirty bitmap. Signed-off-by: Fam Zheng --- block/dirty-bitmap.c | 51

[Qemu-devel] [PATCH v2 08/13] block: Support meta dirty bitmap

2016-01-19 Thread Fam Zheng
The added group of operations enables tracking of the changed bits in the dirty bitmap. Signed-off-by: Fam Zheng --- block/dirty-bitmap.c | 51 include/block/dirty-bitmap.h | 9 2 files changed, 60 insertions(+)