Re: [PULL 0/5] Block layer patches

2020-10-30 Thread Peter Maydell
On Tue, 27 Oct 2020 at 15:15, Kevin Wolf  wrote:
>
> The following changes since commit d55450df995d6223486db11c66491cbf6c131523:
>
>   Merge remote-tracking branch 
> 'remotes/dgilbert/tags/pull-migration-20201026a' into staging (2020-10-27 
> 10:25:42 +)
>
> are available in the Git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 1a6d3bd229d429879a85a9105fb84cae049d083c:
>
>   block: End quiescent sections when a BDS is deleted (2020-10-27 15:26:20 
> +0100)
>
> 
> Block layer patches:
>
> - qcow2: Skip copy-on-write when allocating a zero cluster
> - qemu-img: add support for rate limit in qemu-img convert/commit
> - Fix deadlock when deleting a block node during drain_all


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.2
for any user-visible changes.

-- PMM



[PULL 0/5] Block layer patches

2020-10-27 Thread Kevin Wolf
The following changes since commit d55450df995d6223486db11c66491cbf6c131523:

  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20201026a' 
into staging (2020-10-27 10:25:42 +)

are available in the Git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 1a6d3bd229d429879a85a9105fb84cae049d083c:

  block: End quiescent sections when a BDS is deleted (2020-10-27 15:26:20 
+0100)


Block layer patches:

- qcow2: Skip copy-on-write when allocating a zero cluster
- qemu-img: add support for rate limit in qemu-img convert/commit
- Fix deadlock when deleting a block node during drain_all


Alberto Garcia (2):
  qcow2: Report BDRV_BLOCK_ZERO more accurately in bdrv_co_block_status()
  qcow2: Skip copy-on-write when allocating a zero cluster

Greg Kurz (1):
  block: End quiescent sections when a BDS is deleted

Zhengui Li (2):
  qemu-img: add support for rate limit in qemu-img commit
  qemu-img: add support for rate limit in qemu-img convert

 docs/tools/qemu-img.rst | 10 --
 include/block/block.h   |  8 
 block.c |  9 +
 block/io.c  | 48 
 block/qcow2.c   | 35 +++
 qemu-img.c  | 38 +++---
 tests/test-bdrv-drain.c |  1 +
 qemu-img-cmds.hx|  8 
 8 files changed, 128 insertions(+), 29 deletions(-)




Re: [Qemu-block] [PULL 0/5] Block layer patches

2018-07-05 Thread Kevin Wolf
Am 04.07.2018 um 20:30 hat Peter Maydell geschrieben:
> On 3 July 2018 at 15:59, Kevin Wolf  wrote:
> > The following changes since commit a395717cbd26e7593d3c3fe81faca121ec6d13e8:
> >
> >   Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into 
> > staging (2018-07-03 11:49:51 +0100)
> >
> > are available in the git repository at:
> >
> >   git://repo.or.cz/qemu/kevin.git tags/for-upstream
> >
> > for you to fetch changes up to 59738025a1674bb7e07713c3c93ff4fb9c5079f5:
> >
> >   block: Add blklogwrites (2018-07-03 16:09:48 +0200)
> >
> > 
> > Block layer patches:
> >
> > - qcow2: Use worker threads for compression to improve performance of
> >   'qemu-img convert -W' and compressed backup jobs
> > - blklogwrites: New filter driver to log write requests to an image in
> >   the dm-log-writes format
> >
> > 
> 
> Hi; this gives some a warning on OpenBSD and NetBSD:
> 
> /home/qemu/block/qcow2.c: In function 'qcow2_compress':
> /home/qemu/block/qcow2.c:3684:18: warning: assignment discards 'const'
> qualifier from pointer target type
>  strm.next_in = src;

Hm, looks like they use a really old version of the zlib header, which
doesn't care about const correctness. I'll add a cast to work around it.

Kevin



Re: [Qemu-block] [PULL 0/5] Block layer patches

2018-07-04 Thread Peter Maydell
On 3 July 2018 at 15:59, Kevin Wolf  wrote:
> The following changes since commit a395717cbd26e7593d3c3fe81faca121ec6d13e8:
>
>   Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into 
> staging (2018-07-03 11:49:51 +0100)
>
> are available in the git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 59738025a1674bb7e07713c3c93ff4fb9c5079f5:
>
>   block: Add blklogwrites (2018-07-03 16:09:48 +0200)
>
> 
> Block layer patches:
>
> - qcow2: Use worker threads for compression to improve performance of
>   'qemu-img convert -W' and compressed backup jobs
> - blklogwrites: New filter driver to log write requests to an image in
>   the dm-log-writes format
>
> 

Hi; this gives some a warning on OpenBSD and NetBSD:

/home/qemu/block/qcow2.c: In function 'qcow2_compress':
/home/qemu/block/qcow2.c:3684:18: warning: assignment discards 'const'
qualifier from pointer target type
 strm.next_in = src;
  ^

thanks
-- PMM



[Qemu-block] [PULL 0/5] Block layer patches

2018-07-03 Thread Kevin Wolf
The following changes since commit a395717cbd26e7593d3c3fe81faca121ec6d13e8:

  Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into 
staging (2018-07-03 11:49:51 +0100)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 59738025a1674bb7e07713c3c93ff4fb9c5079f5:

  block: Add blklogwrites (2018-07-03 16:09:48 +0200)


Block layer patches:

- qcow2: Use worker threads for compression to improve performance of
  'qemu-img convert -W' and compressed backup jobs
- blklogwrites: New filter driver to log write requests to an image in
  the dm-log-writes format


Aapo Vienamo (1):
  block: Add blklogwrites

Ari Sundholm (1):
  block: Move two block permission constants to the relevant enum

Vladimir Sementsov-Ogievskiy (3):
  qemu-img: allow compressed not-in-order writes
  qcow2: refactor data compression
  qcow2: add compress threads

 qapi/block-core.json  |  33 -
 block/qcow2.h |   3 +
 include/block/block.h |   7 +
 block.c   |   6 -
 block/blklogwrites.c  | 392 ++
 block/qcow2.c | 136 ++
 qemu-img.c|   5 -
 MAINTAINERS   |   6 +
 block/Makefile.objs   |   1 +
 9 files changed, 545 insertions(+), 44 deletions(-)
 create mode 100644 block/blklogwrites.c



Re: [Qemu-block] [Qemu-devel] [PULL 0/5] Block layer patches for 2.10.0-rc0

2017-07-24 Thread Peter Maydell
On 24 July 2017 at 15:32, Kevin Wolf  wrote:
> The following changes since commit 5dd8990841a9e331d9d4838a116291698208cbb6:
>
>   util: Introduce include/qemu/cpuid.h (2017-07-24 12:42:55 +0100)
>
> are available in the git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 2c93c5cb43fd992038711f84ea34c9373273cda6:
>
>   qemu-iotests: Avoid unnecessary sleeps (2017-07-24 15:06:04 +0200)
>
> 
> Block layer patches for 2.10.0-rc0
>

Applied, thanks.

-- PMM



[Qemu-block] [PULL 0/5] Block layer patches for 2.10.0-rc0

2017-07-24 Thread Kevin Wolf
The following changes since commit 5dd8990841a9e331d9d4838a116291698208cbb6:

  util: Introduce include/qemu/cpuid.h (2017-07-24 12:42:55 +0100)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 2c93c5cb43fd992038711f84ea34c9373273cda6:

  qemu-iotests: Avoid unnecessary sleeps (2017-07-24 15:06:04 +0200)


Block layer patches for 2.10.0-rc0


Eric Blake (3):
  iotests: Remove a few tests from 'quick' group
  dirty-bitmap: Report BlockDirtyInfo.count in bytes, as documented
  qcow2: Fix sector calculation in qcow2_measure()

Kevin Wolf (2):
  block: Skip implicit nodes in query-block/blockstats
  qemu-iotests: Avoid unnecessary sleeps

 block.c   | 13 ---
 block/commit.c|  3 +++
 block/dirty-bitmap.c  |  2 +-
 block/mirror.c|  3 +++
 block/qapi.c  | 33 ++--
 block/qcow2.c |  4 ++--
 include/block/block.h |  1 -
 include/block/block_int.h |  1 +
 qapi/block-core.json  |  6 --
 tests/qemu-iotests/030|  7 +++---
 tests/qemu-iotests/040| 30 +-
 tests/qemu-iotests/040.out|  4 ++--
 tests/qemu-iotests/041| 50 +++
 tests/qemu-iotests/041.out|  4 ++--
 tests/qemu-iotests/055| 15 +++--
 tests/qemu-iotests/group  |  4 ++--
 tests/qemu-iotests/iotests.py | 27 +++
 17 files changed, 157 insertions(+), 50 deletions(-)



Re: [Qemu-block] [PULL 0/5] Block layer patches for 2.7.0-rc3

2016-08-16 Thread Peter Maydell
On 15 August 2016 at 14:57, Kevin Wolf  wrote:
> The following changes since commit 60ac136102098a70b97ab0c07bc7bf53131c:
>
>   target-arm: Fix warn about implicit conversion (2016-08-12 11:12:24 +0100)
>
> are available in the git repository at:
>
>   git://repo.or.cz/qemu/kevin.git tags/for-upstream
>
> for you to fetch changes up to 7d3e693646ad07459e04898663b37000858b4c20:
>
>   iotests: Test case for wrong runtime option types (2016-08-15 15:52:29 
> +0200)
>
> 
> Block layer patches for 2.7.0-rc3
>
> 
> Max Reitz (5):
>   block/ssh: Use QemuOpts for runtime options
>   block/nbd: Use QemuOpts for runtime options
>   block/blkdebug: Store config filename
>   block/nbd: Store runtime option values
>   iotests: Test case for wrong runtime option types

Applied, thanks.

-- PMM



[Qemu-block] [PULL 0/5] Block layer patches for 2.7.0-rc3

2016-08-15 Thread Kevin Wolf
The following changes since commit 60ac136102098a70b97ab0c07bc7bf53131c:

  target-arm: Fix warn about implicit conversion (2016-08-12 11:12:24 +0100)

are available in the git repository at:

  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 7d3e693646ad07459e04898663b37000858b4c20:

  iotests: Test case for wrong runtime option types (2016-08-15 15:52:29 +0200)


Block layer patches for 2.7.0-rc3


Max Reitz (5):
  block/ssh: Use QemuOpts for runtime options
  block/nbd: Use QemuOpts for runtime options
  block/blkdebug: Store config filename
  block/nbd: Store runtime option values
  iotests: Test case for wrong runtime option types

 block/blkdebug.c   |  17 +++--
 block/nbd.c| 159 ++---
 block/ssh.c|  79 +++---
 tests/qemu-iotests/162 |  96 +++
 tests/qemu-iotests/162.out |  17 +
 tests/qemu-iotests/group   |   1 +
 6 files changed, 286 insertions(+), 83 deletions(-)
 create mode 100755 tests/qemu-iotests/162
 create mode 100644 tests/qemu-iotests/162.out



[Qemu-block] [PULL 0/5] Block layer patches

2015-10-02 Thread Kevin Wolf
The following changes since commit ff770b07f34d28b79013a83989bd6c85f8f16b2f:

  Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into 
staging (2015-10-02 11:01:18 +0100)

are available in the git repository at:


  git://repo.or.cz/qemu/kevin.git tags/for-upstream

for you to fetch changes up to 73ba05d936e82fe01b2b2cf987bf3aecb4792af5:

  block/raw-posix: Open file descriptor O_RDWR to work around glibc 
posix_fallocate emulation issue. (2015-10-02 13:48:29 +0200)


Block layer patches


Alberto Garcia (1):
  block: disable I/O limits at the beginning of bdrv_close()

Eric Blake (1):
  tests: Fix test 049 fallout from improved HMP error messages

Kevin Wolf (1):
  raw-win32: Fix write request error handling

Max Reitz (1):
  iotests: Fix test 128 for password-less sudo

Richard W.M. Jones (1):
  block/raw-posix: Open file descriptor O_RDWR to work around glibc 
posix_fallocate emulation issue.

 block.c| 11 ++-
 block/raw-posix.c  |  2 +-
 block/raw-win32.c  |  4 ++--
 tests/qemu-iotests/049.out |  1 +
 tests/qemu-iotests/128 |  9 -
 5 files changed, 18 insertions(+), 9 deletions(-)