[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 05/18] block/backup: Add mirror sync mode 'bi
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 05/18] block/backup: Add mirror sync mode 'bitmap' |
Date: |
Tue, 9 Jul 2019 20:38:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 05.07.19 22:16, John Snow wrote:
> We don't need or want a new sync mode for simple differences in
> semantics. Create a new mode simply named "BITMAP" that is designed to
> make use of the new Bitmap Sync Mode field.
>
> Because the only bitmap sync mode is 'on-success', this adds no new
> functionality to the backup job (yet). The old incremental backup mode
> is maintained as a syntactic sugar for sync=bitmap, mode=on-success.
>
> Add all of the plumbing necessary to support this new instruction.
>
> Signed-off-by: John Snow <address@hidden>
> ---
> block/backup.c | 20 ++++++++++++--------
> block/mirror.c | 6 ++++--
> block/replication.c | 2 +-
> blockdev.c | 25 +++++++++++++++++++++++--
> include/block/block_int.h | 4 +++-
> qapi/block-core.json | 21 +++++++++++++++------
> 6 files changed, 58 insertions(+), 20 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v3 00/18] bitmaps: introduce 'bitmap' sync mode, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 01/18] qapi/block-core: Introduce BackupCommon, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 03/18] blockdev-backup: utilize do_backup_common, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 02/18] drive-backup: create do_backup_common, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 04/18] qapi: add BitmapSyncMode enum, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 05/18] block/backup: Add mirror sync mode 'bitmap', John Snow, 2019/07/05
- Re: [Qemu-devel] [PATCH v3 05/18] block/backup: Add mirror sync mode 'bitmap',
Max Reitz <=
- [Qemu-devel] [PATCH v3 06/18] block/backup: add 'never' policy to bitmap sync mode, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 08/18] hbitmap: enable merging across granularities, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 09/18] block/dirty-bitmap: add bdrv_dirty_bitmap_merge_internal, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 07/18] hbitmap: Fix merge when b is empty, and result is not an alias of a, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 10/18] block/dirty-bitmap: add bdrv_dirty_bitmap_get, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 12/18] block/backup: add 'always' bitmap sync policy, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 11/18] block/backup: upgrade copy_bitmap to BdrvDirtyBitmap, John Snow, 2019/07/05
- [Qemu-devel] [PATCH v3 13/18] iotests: add testing shim for script-style python tests, John Snow, 2019/07/05