[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v6 10/21] qmp: Add support of "dirty-bitmap" syn
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH v6 10/21] qmp: Add support of "dirty-bitmap" sync mode for drive-backup |
Date: |
Thu, 23 Apr 2015 14:47:55 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, Apr 17, 2015 at 07:49:58PM -0400, John Snow wrote:
> For "dirty-bitmap" sync mode, the block job will iterate through the
> given dirty bitmap to decide if a sector needs backup (backup all the
> dirty clusters and skip clean ones), just as allocation conditions of
> "top" sync mode.
>
> Signed-off-by: Fam Zheng <address@hidden>
> Signed-off-by: John Snow <address@hidden>
> ---
> block.c | 9 +++
> block/backup.c | 155
> +++++++++++++++++++++++++++++++++++++++-------
> block/mirror.c | 4 ++
> blockdev.c | 18 +++++-
> hmp.c | 3 +-
> include/block/block.h | 1 +
> include/block/block_int.h | 2 +
> qapi/block-core.json | 14 +++--
> qmp-commands.hx | 8 ++-
> 9 files changed, 181 insertions(+), 33 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpM4srMISgw9.pgp
Description: PGP signature
- Re: [Qemu-block] [PATCH v6 07/21] hbitmap: add hbitmap_merge, (continued)
- [Qemu-block] [PATCH v6 08/21] block: Add bitmap disabled status, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 09/21] block: Add bitmap successors, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 12/21] qmp: Add dirty bitmap status field in query-block, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 10/21] qmp: Add support of "dirty-bitmap" sync mode for drive-backup, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 13/21] block: add BdrvDirtyBitmap documentation, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 11/21] qmp: add block-dirty-bitmap-clear, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 14/21] block: Ensure consistent bitmap function prototypes, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 16/21] hbitmap: truncate tests, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 15/21] block: Resize bitmaps on bdrv_truncate, John Snow, 2015/04/17
- [Qemu-block] [PATCH v6 18/21] iotests: add QMP event waiting queue, John Snow, 2015/04/17