qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v4 0/5] block: add block-dirty-bitmap-populate job


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH v4 0/5] block: add block-dirty-bitmap-populate job
Date: Fri, 19 Mar 2021 23:04:44 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Hi!

Any plans on v5? Now I have a request for this feature.. If no plans, I can 
take care of it and make a v5

02.09.2020 21:18, Eric Blake wrote:
This is NOT the final version of this patch series, but I'm posting it
to revive conversation on the topic while fixing it to compile on top
of meson changes.

v3 was:https://lists.gnu.org/archive/html/qemu-devel/2020-06/msg06258.html

001/5:[0025] [FC] 'block: add bitmap-populate job'
002/5:[----] [--] 'blockdev: combine DriveBackupState and BlockdevBackupState'
003/5:[0004] [FC] 'qmp: expose block-dirty-bitmap-populate'
004/5:[----] [--] 'iotests: move bitmap helpers into their own file'
005/5:[----] [-C] 'iotests: add 298 for block-dirty-bitmap-populate'

I'm still trying to find the right QAPI contract (affects patch 1 and
3 for the qapi, and 5 for invoking the command in iotests), but right
now, I'm leaning towards:

{ "execute": "block-dirty-bitmap-populate", "arguments": {
     "job-id": "job0", "node": "target_node", "name": "target_bitmap",
     "sources": [ { "pattern": "allocation", "node": "from_node" } ] } }

which allows expansion into multiple sources, so that we can combine a
populate action with a bitmap merge rather than having to do those as
separate commands, like:

{ "execute": "block-dirty-bitmap-populate", "arguments": {
     "job-id": "job0", "node": "target_node", "name": "target_bitmap",
     "sources": [ { "pattern": "allocation", "node": "from_node" },
                  { "pattern": "bitmap", "node": "from_node",
                     "bitmap": "from_bitmap" } ] } }


--
Best regards,
Vladimir



reply via email to

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