qemu-block
[Top][All Lists]
Advanced

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

[Qemu-block] [PATCH 00/13] Kill sector-based write_zeroes


From: Eric Blake
Subject: [Qemu-block] [PATCH 00/13] Kill sector-based write_zeroes
Date: Tue, 24 May 2016 16:25:19 -0600

Kevin pointed out that my recent change to byte-based instead
of sector-based blk_write_zeroes() (commit 983a1600) makes life
harder as long as bdrv_write_zeroes is still sector-based, and
where the compiler doesn't flag any change in parameter types.
Complete the conversion, by renaming things (so the compiler
will help flag any future rebase conflicts), and making all
write_zeroes operations nominally take bytes.

Definitely conflicts with Denis' qcow2_co_write_zeroes improvements
series, and probably with Kevin's conversion of block jobs to
BlockBackend. I can rebase if those land on the block branch first.

Eric Blake (13):
  block: Rename blk_write_zeroes()
  block: Track write zero limits in bytes
  block: Add .bdrv_co_pwrite_zeroes()
  block: Switch bdrv_write_zeroes() to byte interface
  iscsi: Convert to bdrv_co_pwrite_zeroes()
  qcow2: Convert to bdrv_co_pwrite_zeroes()
  blkreplay: Convert to bdrv_co_pwrite_zeroes()
  gluster: Convert to bdrv_co_pwrite_zeroes()
  qed: Convert to bdrv_co_pwrite_zeroes()
  raw-posix: Convert to bdrv_co_pwrite_zeroes()
  raw_bsd: Convert to bdrv_co_pwrite_zeroes()
  vmdk: Convert to bdrv_co_pwrite_zeroes()
  block: Kill bdrv_co_write_zeroes()

 include/block/block.h          |  16 +++----
 include/block/block_int.h      |  14 +++---
 include/sysemu/block-backend.h |  14 +++---
 block/backup.c                 |   7 +--
 block/blkreplay.c              |   8 ++--
 block/block-backend.c          |  14 +++---
 block/gluster.c                |  15 +++---
 block/io.c                     | 106 ++++++++++++++++++++++-------------------
 block/iscsi.c                  |  59 +++++++++++++----------
 block/mirror.c                 |   7 +--
 block/parallels.c              |   8 ++--
 block/qcow2-cluster.c          |   3 +-
 block/qcow2.c                  |  57 +++++++++++-----------
 block/qed.c                    |  27 ++++++-----
 block/raw-posix.c              |  37 ++++++--------
 block/raw_bsd.c                |  10 ++--
 block/vmdk.c                   |  19 ++++----
 hw/scsi/scsi-disk.c            |   2 +-
 migration/block.c              |   5 +-
 qemu-img.c                     |   4 +-
 qemu-io-cmds.c                 |  22 ++++-----
 tests/qemu-iotests/034         |   2 +-
 tests/qemu-iotests/154         |   2 +-
 trace-events                   |   6 +--
 24 files changed, 238 insertions(+), 226 deletions(-)

-- 
2.5.5




reply via email to

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