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, > >+ BDRV_SECTOR_SIZE * BITS_PER_BYTE); > >+} > > what is granularity here? Is it unused? > > Here should be chunk_size parameter, which then will be somehow send > to hbitmap_create_meta.
Right, it should replace BDRV_SECTOR_SIZE. Fam