]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-io-cmds.c
qemu-iotests: test zone append operation
authorSam Li <faithilikerun@gmail.com>
Mon, 8 May 2023 05:15:09 +0000 (13:15 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 15 May 2023 12:18:10 +0000 (08:18 -0400)
commitfe4fe70d27db31e4aa139387cdf66c23cace7fd3
tree4e493183e080e7f24460ec63307807dca9b2be0d
parent4751d09adcc3dd76b4124f5c408055ee0940b3ee
qemu-iotests: test zone append operation

The patch tests zone append writes by reporting the zone wp after
the completion of the call. "zap -p" option can print the sector
offset value after completion, which should be the start sector
where the append write begins.

Signed-off-by: Sam Li <faithilikerun@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508051510.177850-4-faithilikerun@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-io-cmds.c
tests/qemu-iotests/tests/zoned
tests/qemu-iotests/tests/zoned.out