[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 09/18] block/dirty-bitmap: add bdrv_dirty_bit
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v4 09/18] block/dirty-bitmap: add bdrv_dirty_bitmap_merge_internal |
Date: |
Wed, 10 Jul 2019 16:38:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 10.07.19 01:25, John Snow wrote:
> I'm surprised it didn't come up sooner, but sometimes we have a +busy
> bitmap as a source. This is dangerous from the QMP API, but if we are
> the owner that marked the bitmap busy, it's safe to merge it using it as
> a read only source.
>
> It is not safe in the general case to allow users to read from in-use
> bitmaps, so create an internal variant that foregoes the safety
> checking.
>
> Signed-off-by: John Snow <address@hidden>
> ---
> block/dirty-bitmap.c | 54 +++++++++++++++++++++++++++++++++++----
> include/block/block_int.h | 3 +++
> 2 files changed, 52 insertions(+), 5 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] [PATCH v4 01/18] qapi/block-core: Introduce BackupCommon, (continued)
- [Qemu-devel] [PATCH v4 13/18] iotests: add testing shim for script-style python tests, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 14/18] iotests: teach run_job to cancel pending jobs, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 12/18] block/backup: add 'always' bitmap sync policy, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 15/18] iotests: teach FilePath to produce multiple paths, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 16/18] iotests: Add virtio-scsi device helper, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 11/18] block/backup: upgrade copy_bitmap to BdrvDirtyBitmap, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 05/18] block/backup: Add mirror sync mode 'bitmap', John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 09/18] block/dirty-bitmap: add bdrv_dirty_bitmap_merge_internal, John Snow, 2019/07/09
- Re: [Qemu-devel] [PATCH v4 09/18] block/dirty-bitmap: add bdrv_dirty_bitmap_merge_internal,
Max Reitz <=
- [Qemu-devel] [PATCH v4 18/18] block/backup: loosen restriction on readonly bitmaps, John Snow, 2019/07/09
- [Qemu-devel] [PATCH v4 17/18] iotests: add test 257 for bitmap-mode backups, John Snow, 2019/07/09
- Re: [Qemu-devel] [PATCH v4 00/18] bitmaps: introduce 'bitmap' sync mode, Max Reitz, 2019/07/10
- Re: [Qemu-devel] [PATCH v4 00/18] bitmaps: introduce 'bitmap' sync mode, John Snow, 2019/07/15
- Re: [Qemu-devel] [PATCH v4 00/18] bitmaps: introduce 'bitmap' sync mode, Fabian Grünbichler, 2019/07/22