[Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action

John Snow posted 3 patches 6 years, 7 months ago
Test checkpatch passed
Test s390x passed
Test asan passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test docker-clang@ubuntu passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190708220502.12977-1-jsnow@redhat.com
Maintainers: Stefan Hajnoczi <stefanha@redhat.com>, Juan Quintela <quintela@redhat.com>, Eric Blake <eblake@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Markus Armbruster <armbru@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, John Snow <jsnow@redhat.com>, Fam Zheng <fam@euphon.net>
block.c                        |   2 +-
block/dirty-bitmap.c           |  15 +++--
blockdev.c                     | 105 ++++++++++++++++++++++++++-------
include/block/dirty-bitmap.h   |   2 +-
migration/block-dirty-bitmap.c |   2 +-
qapi/transaction.json          |   2 +
tests/qemu-iotests/254         |  30 +++++++++-
tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
8 files changed, 206 insertions(+), 34 deletions(-)
[Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action
Posted by John Snow 6 years, 7 months ago
Hi, this is a proposal based off of Vladimir's patchset:
[Qemu-devel] [PATCH 0/4] qapi: block-dirty-bitmap-remove transaction action

===
V3:
===

001/3:[----] [--] 'blockdev: reduce aio_context locked sections in bitmap add/remove'
002/3:[0024] [FC] 'qapi: implement block-dirty-bitmap-remove transaction action'
003/3:[----] [--] 'iotests: test bitmap moving inside 254'

- Changed "squelch_persistence" to "skip_store"
- Use Max's suggestion for return expr

===
V2:
===

It replaces patches two and three with a modified patch (now patch 2)
that foregoes the need for a hide()/unhide() bitmap API. I think it's
suitable as a smaller alternative, but I'm not sure if it covers all
of the use cases of the original series.

Patches 1 and 3 (formerly 4) included as-is.

John Snow (1):
  qapi: implement block-dirty-bitmap-remove transaction action

Vladimir Sementsov-Ogievskiy (2):
  blockdev: reduce aio_context locked sections in bitmap add/remove
  iotests: test bitmap moving inside 254

 block.c                        |   2 +-
 block/dirty-bitmap.c           |  15 +++--
 blockdev.c                     | 105 ++++++++++++++++++++++++++-------
 include/block/dirty-bitmap.h   |   2 +-
 migration/block-dirty-bitmap.c |   2 +-
 qapi/transaction.json          |   2 +
 tests/qemu-iotests/254         |  30 +++++++++-
 tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
 8 files changed, 206 insertions(+), 34 deletions(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action
Posted by John Snow 6 years, 6 months ago

On 7/8/19 6:04 PM, John Snow wrote:
> Hi, this is a proposal based off of Vladimir's patchset:
> [Qemu-devel] [PATCH 0/4] qapi: block-dirty-bitmap-remove transaction action
> 
> ===
> V3:
> ===
> 
> 001/3:[----] [--] 'blockdev: reduce aio_context locked sections in bitmap add/remove'
> 002/3:[0024] [FC] 'qapi: implement block-dirty-bitmap-remove transaction action'
> 003/3:[----] [--] 'iotests: test bitmap moving inside 254'
> 
> - Changed "squelch_persistence" to "skip_store"
> - Use Max's suggestion for return expr
> 
> ===
> V2:
> ===
> 
> It replaces patches two and three with a modified patch (now patch 2)
> that foregoes the need for a hide()/unhide() bitmap API. I think it's
> suitable as a smaller alternative, but I'm not sure if it covers all
> of the use cases of the original series.
> 
> Patches 1 and 3 (formerly 4) included as-is.
> 
> John Snow (1):
>   qapi: implement block-dirty-bitmap-remove transaction action
> 
> Vladimir Sementsov-Ogievskiy (2):
>   blockdev: reduce aio_context locked sections in bitmap add/remove
>   iotests: test bitmap moving inside 254
> 
>  block.c                        |   2 +-
>  block/dirty-bitmap.c           |  15 +++--
>  blockdev.c                     | 105 ++++++++++++++++++++++++++-------
>  include/block/dirty-bitmap.h   |   2 +-
>  migration/block-dirty-bitmap.c |   2 +-
>  qapi/transaction.json          |   2 +
>  tests/qemu-iotests/254         |  30 +++++++++-
>  tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
>  8 files changed, 206 insertions(+), 34 deletions(-)
> 

Thanks, applied to my bitmaps tree:

https://github.com/jnsnow/qemu/commits/bitmaps
https://github.com/jnsnow/qemu.git

--js


(Vladimir: if this isn't amenable to you, it's going in for 4.2, so we
have until the next freeze to change it. Let me know, OK?)

Re: [Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action
Posted by Vladimir Sementsov-Ogievskiy 6 years, 6 months ago
15.07.2019 22:48, John Snow wrote:
> 
> 
> On 7/8/19 6:04 PM, John Snow wrote:
>> Hi, this is a proposal based off of Vladimir's patchset:
>> [Qemu-devel] [PATCH 0/4] qapi: block-dirty-bitmap-remove transaction action
>>
>> ===
>> V3:
>> ===
>>
>> 001/3:[----] [--] 'blockdev: reduce aio_context locked sections in bitmap add/remove'
>> 002/3:[0024] [FC] 'qapi: implement block-dirty-bitmap-remove transaction action'
>> 003/3:[----] [--] 'iotests: test bitmap moving inside 254'
>>
>> - Changed "squelch_persistence" to "skip_store"
>> - Use Max's suggestion for return expr
>>
>> ===
>> V2:
>> ===
>>
>> It replaces patches two and three with a modified patch (now patch 2)
>> that foregoes the need for a hide()/unhide() bitmap API. I think it's
>> suitable as a smaller alternative, but I'm not sure if it covers all
>> of the use cases of the original series.
>>
>> Patches 1 and 3 (formerly 4) included as-is.
>>
>> John Snow (1):
>>    qapi: implement block-dirty-bitmap-remove transaction action
>>
>> Vladimir Sementsov-Ogievskiy (2):
>>    blockdev: reduce aio_context locked sections in bitmap add/remove
>>    iotests: test bitmap moving inside 254
>>
>>   block.c                        |   2 +-
>>   block/dirty-bitmap.c           |  15 +++--
>>   blockdev.c                     | 105 ++++++++++++++++++++++++++-------
>>   include/block/dirty-bitmap.h   |   2 +-
>>   migration/block-dirty-bitmap.c |   2 +-
>>   qapi/transaction.json          |   2 +
>>   tests/qemu-iotests/254         |  30 +++++++++-
>>   tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
>>   8 files changed, 206 insertions(+), 34 deletions(-)
>>
> 
> Thanks, applied to my bitmaps tree:
> 
> https://github.com/jnsnow/qemu/commits/bitmaps
> https://github.com/jnsnow/qemu.git
> 
> --js
> 
> 
> (Vladimir: if this isn't amenable to you, it's going in for 4.2, so we
> have until the next freeze to change it. Let me know, OK?)
> 


And finally I'm here :)

Thanks a lot for doing this job and for your explanations in other threads which
I'm reading today and sorry for the delay! I'll look through these series soon.

Actually, my second child (girl:) was born a month ago, and then her elder brother
was ill, so I took two weeks sick leave after about two weeks vacation and forget
about work for a month.

Hmm. And Nikolay, who doing libvirt part is on vocation now (I started bitmap remove
transaction series by his request), so I don't know about the end of the story with
release and this functionality..

Anyway, it's cool, thanks!

-- 
Best regards,
Vladimir
Re: [Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action
Posted by John Snow 6 years, 6 months ago

On 7/24/19 7:12 AM, Vladimir Sementsov-Ogievskiy wrote:
> 15.07.2019 22:48, John Snow wrote:
>>
>>
>> On 7/8/19 6:04 PM, John Snow wrote:
>>> Hi, this is a proposal based off of Vladimir's patchset:
>>> [Qemu-devel] [PATCH 0/4] qapi: block-dirty-bitmap-remove transaction action
>>>
>>> ===
>>> V3:
>>> ===
>>>
>>> 001/3:[----] [--] 'blockdev: reduce aio_context locked sections in bitmap add/remove'
>>> 002/3:[0024] [FC] 'qapi: implement block-dirty-bitmap-remove transaction action'
>>> 003/3:[----] [--] 'iotests: test bitmap moving inside 254'
>>>
>>> - Changed "squelch_persistence" to "skip_store"
>>> - Use Max's suggestion for return expr
>>>
>>> ===
>>> V2:
>>> ===
>>>
>>> It replaces patches two and three with a modified patch (now patch 2)
>>> that foregoes the need for a hide()/unhide() bitmap API. I think it's
>>> suitable as a smaller alternative, but I'm not sure if it covers all
>>> of the use cases of the original series.
>>>
>>> Patches 1 and 3 (formerly 4) included as-is.
>>>
>>> John Snow (1):
>>>    qapi: implement block-dirty-bitmap-remove transaction action
>>>
>>> Vladimir Sementsov-Ogievskiy (2):
>>>    blockdev: reduce aio_context locked sections in bitmap add/remove
>>>    iotests: test bitmap moving inside 254
>>>
>>>   block.c                        |   2 +-
>>>   block/dirty-bitmap.c           |  15 +++--
>>>   blockdev.c                     | 105 ++++++++++++++++++++++++++-------
>>>   include/block/dirty-bitmap.h   |   2 +-
>>>   migration/block-dirty-bitmap.c |   2 +-
>>>   qapi/transaction.json          |   2 +
>>>   tests/qemu-iotests/254         |  30 +++++++++-
>>>   tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
>>>   8 files changed, 206 insertions(+), 34 deletions(-)
>>>
>>
>> Thanks, applied to my bitmaps tree:
>>
>> https://github.com/jnsnow/qemu/commits/bitmaps
>> https://github.com/jnsnow/qemu.git
>>
>> --js
>>
>>
>> (Vladimir: if this isn't amenable to you, it's going in for 4.2, so we
>> have until the next freeze to change it. Let me know, OK?)
>>
> 
> 
> And finally I'm here :)
> 
> Thanks a lot for doing this job and for your explanations in other threads which
> I'm reading today and sorry for the delay! I'll look through these series soon.
> 
> Actually, my second child (girl:) was born a month ago, and then her elder brother
> was ill, so I took two weeks sick leave after about two weeks vacation and forget
> about work for a month.
> 
> Hmm. And Nikolay, who doing libvirt part is on vocation now (I started bitmap remove
> transaction series by his request), so I don't know about the end of the story with
> release and this functionality..
> 
> Anyway, it's cool, thanks!
> 

Wow!

Congratulations Vladimir!


Re: [Qemu-devel] [PATCH v3 0/3] qapi: block-dirty-bitmap-remove transaction action
Posted by Vladimir Sementsov-Ogievskiy 6 years, 6 months ago
24.07.2019 15:52, John Snow wrote:
> 
> 
> On 7/24/19 7:12 AM, Vladimir Sementsov-Ogievskiy wrote:
>> 15.07.2019 22:48, John Snow wrote:
>>>
>>>
>>> On 7/8/19 6:04 PM, John Snow wrote:
>>>> Hi, this is a proposal based off of Vladimir's patchset:
>>>> [Qemu-devel] [PATCH 0/4] qapi: block-dirty-bitmap-remove transaction action
>>>>
>>>> ===
>>>> V3:
>>>> ===
>>>>
>>>> 001/3:[----] [--] 'blockdev: reduce aio_context locked sections in bitmap add/remove'
>>>> 002/3:[0024] [FC] 'qapi: implement block-dirty-bitmap-remove transaction action'
>>>> 003/3:[----] [--] 'iotests: test bitmap moving inside 254'
>>>>
>>>> - Changed "squelch_persistence" to "skip_store"
>>>> - Use Max's suggestion for return expr
>>>>
>>>> ===
>>>> V2:
>>>> ===
>>>>
>>>> It replaces patches two and three with a modified patch (now patch 2)
>>>> that foregoes the need for a hide()/unhide() bitmap API. I think it's
>>>> suitable as a smaller alternative, but I'm not sure if it covers all
>>>> of the use cases of the original series.
>>>>
>>>> Patches 1 and 3 (formerly 4) included as-is.
>>>>
>>>> John Snow (1):
>>>>     qapi: implement block-dirty-bitmap-remove transaction action
>>>>
>>>> Vladimir Sementsov-Ogievskiy (2):
>>>>     blockdev: reduce aio_context locked sections in bitmap add/remove
>>>>     iotests: test bitmap moving inside 254
>>>>
>>>>    block.c                        |   2 +-
>>>>    block/dirty-bitmap.c           |  15 +++--
>>>>    blockdev.c                     | 105 ++++++++++++++++++++++++++-------
>>>>    include/block/dirty-bitmap.h   |   2 +-
>>>>    migration/block-dirty-bitmap.c |   2 +-
>>>>    qapi/transaction.json          |   2 +
>>>>    tests/qemu-iotests/254         |  30 +++++++++-
>>>>    tests/qemu-iotests/254.out     |  82 +++++++++++++++++++++++++
>>>>    8 files changed, 206 insertions(+), 34 deletions(-)
>>>>
>>>
>>> Thanks, applied to my bitmaps tree:
>>>
>>> https://github.com/jnsnow/qemu/commits/bitmaps
>>> https://github.com/jnsnow/qemu.git
>>>
>>> --js
>>>
>>>
>>> (Vladimir: if this isn't amenable to you, it's going in for 4.2, so we
>>> have until the next freeze to change it. Let me know, OK?)
>>>
>>
>>
>> And finally I'm here :)
>>
>> Thanks a lot for doing this job and for your explanations in other threads which
>> I'm reading today and sorry for the delay! I'll look through these series soon.
>>
>> Actually, my second child (girl:) was born a month ago, and then her elder brother
>> was ill, so I took two weeks sick leave after about two weeks vacation and forget
>> about work for a month.
>>
>> Hmm. And Nikolay, who doing libvirt part is on vocation now (I started bitmap remove
>> transaction series by his request), so I don't know about the end of the story with
>> release and this functionality..
>>
>> Anyway, it's cool, thanks!
>>
> 
> Wow!
> 
> Congratulations Vladimir!
> 

Thank you!

-- 
Best regards,
Vladimir