vmdk: Misc fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 2 repliesIn review
- v17 patches 14 repliesSuperseded
Changes in v2 from the cover letter
- Patch 2: Don’t treat extent filenames with protocol prefixes as absolute filenames – this may be the right thing to do, but:
(1) path_combine() doesn’t (it just ignores whether the supposed relative filename has a potential protocol prefix), so this is how we handled it so far,
(2) It would break other cases (when a filename contains a colon for no particular reason), as seen in iotest 126.
That means you cannot have an extent file e.g. on an http server while the descriptor is on a local filesystem, but I hope nobody would ever want to do that.
- Patch 3: Fix paste-o [John]
- Patch 7: twoGbMaxExtentSparse works now with the change to patch 2, so we no longer have to mark it unsupported [Thanks for the insistent inquiry, John :-)]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iotests: Fix _filter_img_create()tests/ tests/ | +10 | 0 replies | |
| 2/7 | vmdk: Use bdrv_dirname() for relative extent pathsblock/ tests/ tests/ | +42 | 0 replies | |
| 3/7 | iotests: Keep testing broken relative extent pathstests/ tests/ | +31 | 0 replies | |
| 4/7 | vmdk: Reject invalid compressed writesblock/ | +10 | 0 replies | |
| 5/7 | iotests: Disable broken streamOptimized teststests/ tests/ tests/ +18 more | +30 | 0 replies | |
| 6/7 | iotests: Disable 110 for vmdk.twoGbMaxExtentSparsetests/ | +2 | 0 replies | |
| 7/7 | iotests: Disable 126 for flat vmdk subformatstests/ | +2 | 0 replies |
Reviews trailers per patch
4 of 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | John Snow |
|---|---|
| Series | R-b |
| 1/7 | R-b |
| 2/7 | |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | |
| 6/7 | R-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/7] vmdk: Misc fixes
I made the mistake of trying to run the iotests with all non-default subformats our vmdk driver has to offer:
- monolithicFlat
- twoGbMaxExtentSparse
- twoGbMaxExtentFlat
- streamOptimized
Many things broke, so this series fixes what I found. It’s mostly just iotest fixes, but there are actually two real fixes in here.
v2:
- Patch 2: Don’t treat extent filenames with protocol prefixes as absolute filenames – this may be the right thing to do, but:
(1) path_combine() doesn’t (it just ignores whether the supposed relative filename has a potential protocol prefix), so this is how we handled it so far,
(2) It would break other cases (when a filename contains a colon for no particular reason), as seen in iotest 126.
That means you cannot have an extent file e.g. on an http server while the descriptor is on a local filesystem, but I hope nobody would ever want to do that.
- Patch 3: Fix paste-o [John]
- Patch 7: twoGbMaxExtentSparse works now with the change to patch 2, so we no longer have to mark it unsupported [Thanks for the insistent inquiry, John :-)]
git-backport-diff against v1:
Key:
[----] : patches are identical
[####] : number of functional differences between upstream/downstream patch [down] : patch is downstream-only
The flags [FC] indicate (F)unctional and (C)ontextual differences, respectively
001/7:[----] [--] 'iotests: Fix _filter_img_create()' 002/7:[0002] [FC] 'vmdk: Use bdrv_dirname() for relative extent paths' 003/7:[0002] [FC] 'iotests: Keep testing broken relative extent paths' 004/7:[----] [--] 'vmdk: Reject invalid compressed writes' 005/7:[----] [--] 'iotests: Disable broken streamOptimized tests' 006/7:[----] [--] 'iotests: Disable 110 for vmdk.twoGbMaxExtentSparse' 007/7:[0006] [FC] 'iotests: Disable 126 for some vmdk subformats'
Max Reitz (7):
iotests: Fix _filter_img_create()
vmdk: Use bdrv_dirname() for relative extent paths
iotests: Keep testing broken relative extent paths
vmdk: Reject invalid compressed writes
iotests: Disable broken streamOptimized tests
iotests: Disable 110 for vmdk.twoGbMaxExtentSparse
iotests: Disable 126 for flat vmdk subformats
block/vmdk.c | 64 ++++++++++++++++++++++---------- tests/qemu-iotests/002 | 1 + tests/qemu-iotests/003 | 1 + tests/qemu-iotests/005 | 3 +- tests/qemu-iotests/009 | 1 + tests/qemu-iotests/010 | 1 + tests/qemu-iotests/011 | 1 + tests/qemu-iotests/017 | 3 +- tests/qemu-iotests/018 | 3 +- tests/qemu-iotests/019 | 3 +- tests/qemu-iotests/020 | 3 +- tests/qemu-iotests/027 | 1 + tests/qemu-iotests/032 | 1 + tests/qemu-iotests/033 | 1 + tests/qemu-iotests/034 | 3 +- tests/qemu-iotests/037 | 3 +- tests/qemu-iotests/059 | 34 ++++++++++++++++- tests/qemu-iotests/059.out | 24 +++++++----- tests/qemu-iotests/063 | 3 +- tests/qemu-iotests/072 | 1 + tests/qemu-iotests/105 | 3 +- tests/qemu-iotests/110 | 3 +- tests/qemu-iotests/126 | 2 + tests/qemu-iotests/197 | 1 + tests/qemu-iotests/215 | 1 + tests/qemu-iotests/251 | 1 + tests/qemu-iotests/common.filter | 4 +- 27 files changed, 127 insertions(+), 43 deletions(-)
Signature · 1 line
2.21.0