OSDN Git Service

iotests: test new zone operations
authorSam Li <faithilikerun@gmail.com>
Mon, 8 May 2023 04:55:31 +0000 (12:55 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 15 May 2023 12:17:03 +0000 (08:17 -0400)
commit8a6aa0bbe5770b8957f7dd7b1598b98ad5566674
treed4652f480e335acb6d25e9b574f68e31f5c2cbad
parent774c726ceb2a3aa039dc20f0b51c9d36a2c6760d
iotests: test new zone operations

The new block layer APIs of zoned block devices can be tested by:
$ tests/qemu-iotests/check zoned
Run each zone operation on a newly created null_blk device
and see whether it outputs the same zone information.

Signed-off-by: Sam Li <faithilikerun@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20230508045533.175575-7-faithilikerun@gmail.com
Message-id: 20230324090605.28361-7-faithilikerun@gmail.com
[Adjust commit message prefix as suggested by Philippe Mathieu-Daudé
<philmd@linaro.org>.
--Stefan]
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/tests/zoned [new file with mode: 0755]
tests/qemu-iotests/tests/zoned.out [new file with mode: 0644]