tests: extend test 131 to cover availability of the write-zeroes
commit1dba99e34d1bcb3c0de69c4270f9587b01e225fe
authorDenis V. Lunev <den@openvz.org>
Mon, 18 Sep 2023 18:01:00 +0000 (18 20:01 +0200)
committerDenis V. Lunev <den@openvz.org>
Thu, 21 Sep 2023 06:49:28 +0000 (21 08:49 +0200)
treef61ca8552afec26c45a6026a09adee9d9f8a7478
parenta98b260a525b85be929de76affc06370c4ecbc52
tests: extend test 131 to cover availability of the write-zeroes

This patch contains test which minimally tests write-zeroes on top of
working discard.

The following checks are added:
* write 2 clusters, write-zero to the first allocated cluster
* write 2 cluster, write-zero to the half the first allocated cluster

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
tests/qemu-iotests/131
tests/qemu-iotests/131.out