qcow2_co_write_zeroes and related improvements
Status from this message: Thanks, applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Changes in v3 from the cover letter
- patch 1: close to a rewrite, same concept but in fewer lines of code, and with testsuite change to back it up as valid; but keep authorship
- patch 2, 3: unchanged
- patch 4 from original series already applied
- patch 4 in this series is new
- patch 5: rewrite of the original v5 that catches even more cases; claim authorship
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | block: split write_zeroes alwaysblock/ tests/ | +29 | 1 reply | |
| 2/5 | qcow2: simplify logic in qcow2_co_write_zeroesblock/ | +5 | 0 replies | |
| 3/5 | qcow2: add tracepoints for qcow2_co_write_zeroesblock/ trace-events | +7 | 0 replies | |
| 4/5 | qemu-iotests: Test one more spot for optimizing write_zeroestests/ tests/ | +77 | 0 replies | |
| 5/5 | qcow2: Catch more unaligned write_zero into zero clusterblock/ tests/ | +27 | 5 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Fam Zheng | Denis V. Lunev |
|---|---|---|---|
| 1/5 | R-b | ||
| 2/5 | R-b | ||
| 3/5 | |||
| 4/5 | |||
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH v3 0/5] qcow2_co_write_zeroes and related improvements
This series improves write_zeroes for qcow2
Since the work conflicts with my proposed patches to switch write_zeroes to a byte-base interface, I figured I'd fix the bugs and get this part nailed first, then rebase my other work on top, rather than making Denis have to do the dirty work.
Changes from v2:
- patch 1: close to a rewrite, same concept but in fewer lines of code, and with testsuite change to back it up as valid; but keep authorship
- patch 2, 3: unchanged
- patch 4 from original series already applied
- patch 4 in this series is new
- patch 5: rewrite of the original v5 that catches even more cases; claim authorship
[hmm, maybe I should treat 1 and 5 the same on whether to leave authorship unchanged or just credit Denis for the original idea]
Denis V. Lunev (3):
block: split write_zeroes always
qcow2: simplify logic in qcow2_co_write_zeroes
qcow2: add tracepoints for qcow2_co_write_zeroes
Eric Blake (2):
qemu-iotests: Test one more spot for optimizing write_zeroes
qcow2: Catch more unaligned write_zero into zero cluster
block/io.c | 30 ++++++++++++--------- block/qcow2.c | 67 ++++++++++++++++++++-------------------------- tests/qemu-iotests/154 | 40 +++++++++++++++++++++++++++ tests/qemu-iotests/154.out | 55 ++++++++++++++++++++++++++++++++----- trace-events | 2 ++ 5 files changed, 137 insertions(+), 57 deletions(-)
Signature · 1 line
2.5.5