[PULL 0/4] NBD patches for soft freeze, 2021-07-09

Eric Blake posted 4 patches 4 years, 2 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210709140951.2775730-1-eblake@redhat.com
Maintainers: Markus Armbruster <armbru@redhat.com>, Max Reitz <mreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>, Kevin Wolf <kwolf@redhat.com>
There is a newer version of this series
docs/tools/qemu-img.rst                            |  17 +-
qapi/block-core.json                               |   7 +-
block/nbd.c                                        |   8 +-
qemu-img.c                                         |   7 +-
tests/qemu-iotests/122.out                         |  84 ++++-----
tests/qemu-iotests/154.out                         | 190 +++++++++++----------
tests/qemu-iotests/179.out                         | 133 ++++++++++-----
tests/qemu-iotests/209.out                         |   4 +-
tests/qemu-iotests/223.out                         |  56 +++---
tests/qemu-iotests/244.out                         |  23 +--
tests/qemu-iotests/252.out                         |  10 +-
tests/qemu-iotests/274.out                         |  48 +++---
tests/qemu-iotests/291.out                         |  24 +--
tests/qemu-iotests/309.out                         |  22 ---
.../{309 => tests/nbd-qemu-allocation}             |   5 +-
tests/qemu-iotests/tests/nbd-qemu-allocation.out   |  32 ++++
16 files changed, 372 insertions(+), 298 deletions(-)
delete mode 100644 tests/qemu-iotests/309.out
rename tests/qemu-iotests/{309 => tests/nbd-qemu-allocation} (95%)
create mode 100644 tests/qemu-iotests/tests/nbd-qemu-allocation.out
[PULL 0/4] NBD patches for soft freeze, 2021-07-09
Posted by Eric Blake 4 years, 2 months ago
The following changes since commit 9db3065c62a983286d06c207f4981408cf42184d:

  Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.1-pull-request' into staging (2021-07-08 16:30:18 +0100)

are available in the Git repository at:

  https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2021-07-09

for you to fetch changes up to 62967c9927ec4d733b923c70f9f5428dd1d2e0d7:

  nbd: register yank function earlier (2021-07-09 08:27:33 -0500)

----------------------------------------------------------------
nbd patches for 2021-07-09

- enhance 'qemu-img map --output=json' to make it easier to duplicate
backing chain allocation patterns
- fix a race in the 'yank' QMP command in relation to NBD requests

----------------------------------------------------------------
Eric Blake (3):
      iotests: Improve and rename test 309 to nbd-qemu-allocation
      qemu-img: Make unallocated part of backing chain obvious in map
      qemu-img: Reword 'qemu-img map --output=json' docs

Lukas Straub (1):
      nbd: register yank function earlier

 docs/tools/qemu-img.rst                            |  17 +-
 qapi/block-core.json                               |   7 +-
 block/nbd.c                                        |   8 +-
 qemu-img.c                                         |   7 +-
 tests/qemu-iotests/122.out                         |  84 ++++-----
 tests/qemu-iotests/154.out                         | 190 +++++++++++----------
 tests/qemu-iotests/179.out                         | 133 ++++++++++-----
 tests/qemu-iotests/209.out                         |   4 +-
 tests/qemu-iotests/223.out                         |  56 +++---
 tests/qemu-iotests/244.out                         |  23 +--
 tests/qemu-iotests/252.out                         |  10 +-
 tests/qemu-iotests/274.out                         |  48 +++---
 tests/qemu-iotests/291.out                         |  24 +--
 tests/qemu-iotests/309.out                         |  22 ---
 .../{309 => tests/nbd-qemu-allocation}             |   5 +-
 tests/qemu-iotests/tests/nbd-qemu-allocation.out   |  32 ++++
 16 files changed, 372 insertions(+), 298 deletions(-)
 delete mode 100644 tests/qemu-iotests/309.out
 rename tests/qemu-iotests/{309 => tests/nbd-qemu-allocation} (95%)
 create mode 100644 tests/qemu-iotests/tests/nbd-qemu-allocation.out

-- 
2.31.1


Re: [PULL 0/4] NBD patches for soft freeze, 2021-07-09
Posted by Peter Maydell 4 years, 2 months ago
On Fri, 9 Jul 2021 at 15:13, Eric Blake <eblake@redhat.com> wrote:
>
> The following changes since commit 9db3065c62a983286d06c207f4981408cf42184d:
>
>   Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.1-pull-request' into staging (2021-07-08 16:30:18 +0100)
>
> are available in the Git repository at:
>
>   https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2021-07-09
>
> for you to fetch changes up to 62967c9927ec4d733b923c70f9f5428dd1d2e0d7:
>
>   nbd: register yank function earlier (2021-07-09 08:27:33 -0500)
>
> ----------------------------------------------------------------
> nbd patches for 2021-07-09
>
> - enhance 'qemu-img map --output=json' to make it easier to duplicate
> backing chain allocation patterns
> - fix a race in the 'yank' QMP command in relation to NBD requests
>

This failed iotest 253 in the build-tcg-disabled gitlab CI:
https://gitlab.com/qemu-project/qemu/-/jobs/1415082341

thanks
-- PMM

Re: [PULL 0/4] NBD patches for soft freeze, 2021-07-09
Posted by Eric Blake 4 years, 2 months ago
On Sun, Jul 11, 2021 at 01:09:08PM +0100, Peter Maydell wrote:
> On Fri, 9 Jul 2021 at 15:13, Eric Blake <eblake@redhat.com> wrote:
> >
> > The following changes since commit 9db3065c62a983286d06c207f4981408cf42184d:
> >
> >   Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-6.1-pull-request' into staging (2021-07-08 16:30:18 +0100)
> >
> > are available in the Git repository at:
> >
> >   https://repo.or.cz/qemu/ericb.git tags/pull-nbd-2021-07-09
> >
> > for you to fetch changes up to 62967c9927ec4d733b923c70f9f5428dd1d2e0d7:
> >
> >   nbd: register yank function earlier (2021-07-09 08:27:33 -0500)
> >
> > ----------------------------------------------------------------
> > nbd patches for 2021-07-09
> >
> > - enhance 'qemu-img map --output=json' to make it easier to duplicate
> > backing chain allocation patterns
> > - fix a race in the 'yank' QMP command in relation to NBD requests
> >
> 
> This failed iotest 253 in the build-tcg-disabled gitlab CI:
> https://gitlab.com/qemu-project/qemu/-/jobs/1415082341

Also 146, 211, and 241 needed updating to match the new expected
output.  Will post a v2 pull request soon.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org