Skip to content

drop unallocated_blocks_are_zero

Vladimir Sementsov-Ogievskiy qemu-devel 3 versions – Applied

Status from this message: Thanks, applied to my block branch:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 4 repliesApplied
  2. v29 patches 9 repliesSuperseded
  3. v18 patches 17 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/10qemu-img: convert: don't use unallocated_blocks_are_zeroqemu-img.c+1 -30 replies
2/10block: inline bdrv_unallocated_blocks_are_zero()block.c block/io.c include/block/block.h+8 -190 replies
3/10block/vdi: return ZERO block-status when appropriateblock/vdi.c+1 -20 replies
4/10block/vpc: return ZERO block-status when appropriateblock/vpc.c+1 -22 replies
5/10block/crypto: drop unallocated_blocks_are_zeroblock/crypto.c+0 -10 replies
6/10block/iscsi: drop unallocated_blocks_are_zeroblock/iscsi.c+0 -10 replies
7/10block/file-posix: drop unallocated_blocks_are_zeroblock/file-posix.c+0 -30 replies
8/10block/vhdx: drop unallocated_blocks_are_zeroblock/vhdx.c+0 -30 replies
9/10block: drop unallocated_blocks_are_zeroblock/io.c block/qcow2.c block/qed.c +2 more+13 -150 replies
10/10qed: Simplify backing readsblock/qed.c block/qed.h+6 -590 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchEric BlakeVladimir Sementsov-Ogievskiy
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/10] drop unallocated_blocks_are_zero

This is first step to block-status refactoring, and solves most simple problem mentioned in my investigation of block-status described in the thread "backing chain & block status & filters":
https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg04706.html

The whole series is reviewed, let's proceed with it please!

v3: rebase on master
02: grammar fix in commit msg, add Eric's r-b
03,04,09: add Eric's r-b
10: add my r-b

Eric Blake (1):
qed: Simplify backing reads

Vladimir Sementsov-Ogievskiy (9):
qemu-img: convert: don't use unallocated_blocks_are_zero
block: inline bdrv_unallocated_blocks_are_zero() block/vdi: return ZERO block-status when appropriate block/vpc: return ZERO block-status when appropriate block/crypto: drop unallocated_blocks_are_zero block/iscsi: drop unallocated_blocks_are_zero block/file-posix: drop unallocated_blocks_are_zero block/vhdx: drop unallocated_blocks_are_zero
block: drop unallocated_blocks_are_zero

 block/qed.h               |  1 -
 include/block/block.h     |  6 ----
 include/block/block_int.h | 12 +++++++-
 block.c                   | 15 ---------
 block/crypto.c            |  1 -
 block/file-posix.c        |  3 --
 block/io.c                |  8 ++---
 block/iscsi.c             |  1 -
 block/qcow2.c             |  1 -
 block/qed.c               | 65 ++++-----------------------------------
 block/vdi.c               |  3 +-
 block/vhdx.c              |  3 --
 block/vpc.c               |  3 +-
 qemu-img.c                |  4 +--
 14 files changed, 24 insertions(+), 102 deletions(-)
Signature · 1 line
2.18.0