[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v9 08/10] qapi: Add transaction support to block
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH v9 08/10] qapi: Add transaction support to block-dirty-bitmap-{add, enable, disable} |
Date: |
Tue, 9 Dec 2014 17:45:46 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Dec 01, 2014 at 03:30:14PM -0500, John Snow wrote:
> From: Fam Zheng <address@hidden>
>
> This adds three qmp commands to transactions.
>
> Users can stop a dirty bitmap, start backup of it, and start another
> dirty bitmap atomically, so that the dirty bitmap is tracked
> incrementally and we don't miss any write.
>
> Signed-off-by: Fam Zheng <address@hidden>
> Signed-off-by: John Snow <address@hidden>
> Reviewed-by: Max Reitz <address@hidden>
> ---
> blockdev.c | 85
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> qapi-schema.json | 5 +++-
> 2 files changed, 89 insertions(+), 1 deletion(-)
Please the following commint on block-next for examples of how to
acquire/release AioContext in qmp_transaction:
commit 6a50d4a7f758436828091336c8905b6fa870f8cb
Author: Stefan Hajnoczi <address@hidden>
Date: Fri Nov 21 10:48:59 2014 +0000
blockdev: acquire AioContext in QMP 'transaction' actions
pgpNttZHINYTI.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH v9 02/10] qmp: Add block-dirty-bitmap-add and block-dirty-bitmap-remove, (continued)
- [Qemu-devel] [PATCH v9 07/10] qmp: Add support of "dirty-bitmap" sync mode for drive-backup, John Snow, 2014/12/01
- [Qemu-devel] [PATCH v9 06/10] qmp: Add block-dirty-bitmap-enable and block-dirty-bitmap-disable, John Snow, 2014/12/01
- [Qemu-devel] [PATCH v9 05/10] block: Add bdrv_copy_dirty_bitmap and bdrv_reset_dirty_bitmap, John Snow, 2014/12/01
- [Qemu-devel] [PATCH v9 08/10] qapi: Add transaction support to block-dirty-bitmap-{add, enable, disable}, John Snow, 2014/12/01
- Re: [Qemu-devel] [PATCH v9 08/10] qapi: Add transaction support to block-dirty-bitmap-{add, enable, disable},
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH v9 10/10] qemu-iotests: Add tests for drive-backup sync=dirty-bitmap, John Snow, 2014/12/01
- [Qemu-devel] [PATCH v9 09/10] qmp: Add dirty bitmap 'enabled' field in query-block, John Snow, 2014/12/01