Skip to content

block: fix multiwrite_merge() overlapping requests

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesApplied
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

* s/subset/superset/ in Patch 1 commit message [fam]
* Add additional overlapping request test cases [eblake]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2block: fix overlapping multiwrite requestsblock.c+6 -02 replies
2/2qemu-iotests: add multiwrite test casestests/qemu-iotests/100 tests/qemu-iotests/100.out tests/qemu-iotests/group+224 -02 replies

Reviews trailers per patch

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

PatchEric BlakeBenoit Canet
1/2R-b R-b
2/2R-b R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/2] block: fix multiwrite_merge() overlapping requests

v2:
* s/subset/superset/ in Patch 1 commit message [fam]
* Add additional overlapping request test cases [eblake]

This is a fix for https://bugs.launchpad.net/qemu/+bug/1343827.

Patch 1 fixes the bug. Patch 2 adds a qemu-iotests test case to prevent regressions.

Stefan Hajnoczi (2):
block: fix overlapping multiwrite requests
qemu-iotests: add multiwrite test cases

 block.c                    |   6 ++
 tests/qemu-iotests/100     | 134 +++++++++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/100.out |  89 ++++++++++++++++++++++++++++++
 tests/qemu-iotests/group   |   1 +
 4 files changed, 230 insertions(+)
 create mode 100755 tests/qemu-iotests/100
 create mode 100644 tests/qemu-iotests/100.out
Signature · 1 line
1.9.3