qemu-iotests: Fix regression in 136 on aio_read invalid
commit37546ff28fb89744ebf2223db22cbc253592abe1
authorEric Blake <eblake@redhat.com>
Mon, 16 May 2016 16:43:03 +0000 (16 10:43 -0600)
committerMax Reitz <mreitz@redhat.com>
Thu, 19 May 2016 14:56:58 +0000 (19 16:56 +0200)
treeafeb3f34de755b9d181a20fba7eaf3aec3e5ae4f
parent9e28bb26c243c2c0ec96a900611f0658a0665b43
qemu-iotests: Fix regression in 136 on aio_read invalid

Commit 093ea232 removed the ability for aio_read and aio_write
to artificially inflate the invalid statistics counters for
block devices, since it no longer flags unaligned offset or
length.  Add 'aio_read -i' and 'aio_write -i' to restore
the ability, and update test 136 to use it.

Reported-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1463416983-28318-4-git-send-email-eblake@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-io-cmds.c
tests/qemu-iotests/136