Skip to content

block/file-posix: Fix xfs_write_zeroes()

Max Reitz qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block/file-posix: Fix xfs_write_zeroes()block/file-posix.c+11 -50 replies
2/2iotests: Test reverse sub-cluster qcow2 writestests/qemu-iotests/265 tests/qemu-iotests/265.out tests/qemu-iotests/group+74 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLukáš DoktorAnton Nefedov
SeriesT-b R-b
1/2
2/2

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] block/file-posix: Fix xfs_write_zeroes()

Lukàš ran over a nasty regression in our xfs_write_zeroes() function (sorry, my fault) made apparent by a recent patch from Anton that makes qcow2 images heavily exercise the offending code path.

This series fixes the bug and adds a test to prevent it from reoccurring.

Max Reitz (2):
block/file-posix: Fix xfs_write_zeroes()
iotests: Test reverse sub-cluster qcow2 writes

 block/file-posix.c         | 16 ++++++---
 tests/qemu-iotests/265     | 67 ++++++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/265.out |  6 ++++
 tests/qemu-iotests/group   |  1 +
 4 files changed, 85 insertions(+), 5 deletions(-)
 create mode 100755 tests/qemu-iotests/265
 create mode 100644 tests/qemu-iotests/265.out
Signature · 1 line
2.21.0