mbox series

[v3,0/2] block: fix write with zero flag set and iovector provided

Message ID 1518624560-38060-1-git-send-email-anton.nefedov@virtuozzo.com
Headers show
Series block: fix write with zero flag set and iovector provided | expand

Message

Anton Nefedov Feb. 14, 2018, 4:09 p.m. UTC
v3: patch 1: image cluster size reduced to get away with a smaller test image
    (the cluster size can be as small as 512 bytes for qcow2,
     but the test runs for all generic formats and minimum for qed is 4k)

v2: http://lists.nongnu.org/archive/html/qemu-devel/2018-02/msg03016.html

Anton Nefedov (2):
  iotest 033: add misaligned write-zeroes test via truncate
  block: fix write with zero flag set and iovector provided

 block/io.c                 |  2 +-
 tests/qemu-iotests/033     | 29 +++++++++++++++++++++++++++++
 tests/qemu-iotests/033.out | 13 +++++++++++++
 3 files changed, 43 insertions(+), 1 deletion(-)

Comments

Kevin Wolf Feb. 14, 2018, 5:28 p.m. UTC | #1
Am 14.02.2018 um 17:09 hat Anton Nefedov geschrieben:
> v3: patch 1: image cluster size reduced to get away with a smaller test image
>     (the cluster size can be as small as 512 bytes for qcow2,
>      but the test runs for all generic formats and minimum for qed is 4k)

Thanks, applied to the block branch (in reverse order, tests should
always pass).

Kevin