qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v3 06/15] block: Hide HBitmap in block dirty bit


From: Fam Zheng
Subject: Re: [Qemu-block] [PATCH v3 06/15] block: Hide HBitmap in block dirty bitmap interface
Date: Tue, 8 Mar 2016 10:14:12 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, 03/07 20:11, Max Reitz wrote:
> On 27.02.2016 10:20, Fam Zheng wrote:
> > HBitmap is an implementation detail of block dirty bitmap that should be 
> > hidden
> > from users. Introduce a BdrvDirtyBitmapIter to encapsulate the underlying
> > HBitmapIter.
> > 
> > A small difference in the interface is, before, an HBitmapIter is 
> > initialized
> > in place, now the new BdrvDirtyBitmapIter must be dynamically allocated 
> > because
> > the structure definition is in block.c.
> > 
> > Two current users are converted too.
> > 
> > Signed-off-by: Fam Zheng <address@hidden>
> > Reviewed-by: John Snow <address@hidden>
> > ---
> >  block/backup.c               | 14 ++++++++------
> >  block/dirty-bitmap.c         | 39 +++++++++++++++++++++++++++++++++------
> >  block/mirror.c               | 14 ++++++++------
> >  include/block/dirty-bitmap.h |  7 +++++--
> >  include/qemu/typedefs.h      |  1 +
> >  5 files changed, 55 insertions(+), 20 deletions(-)
> 
> I tried my best at fixing up the rebase conflicts, but block/mirror.c
> has just changed too much ("mirror: Rewrite mirror_iteration") to be
> able to pretend these fixes are trivial. Therefore, I'm afraid this
> patch will need a rebase.

Doing it now. Thanks!

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]