Skip to contentSkip to conversation

qemu-iotests: Do not execute 052 with -nocache

PATCH Applied Max Reitz 3 participants 3 messages Sep 23, 2013 – Sep 24, 2013

lore
Share & tools
lore

Max Reitz

author
#0 lore raw

PATCH 1/1 qemu-iotests: Do not execute 052 with -nocache

Test 052 uses qemu-io -s which will result in bdrv_open trying to create a temporary snapshot file in /tmp. However, since O_DIRECT and tmpfs do not work well together, disable this test for -nocache.

---
 tests/qemu-iotests/052 | 1 +
 1 file changed, 1 insertion(+)
tests/qemu-iotests/052 +1 -0
index 14a5126..49810cb 100755
@@ -41,6 +41,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
 _supported_fmt generic
 _supported_proto generic
 _supported_os Linux
+_unsupported_qemu_io_options --nocache
 
 
 size=128M
Signature · 1 line
1.8.3.1
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Max Reitz

Test 052 uses qemu-io -s which will result in bdrv_open trying to create a temporary snapshot file in /tmp. However, since O_DIRECT and tmpfs do not work well together, disable this test for -nocache.

---
 tests/qemu-iotests/052 | 1 +
 1 file changed, 1 insertion(+)
Applied
#2 lore raw
In reply to Max Reitz

Am 23.09.2013 um 16:38 hat Max Reitz geschrieben:

Quoted 5 lines

Test 052 uses qemu-io -s which will result in bdrv_open trying to create a temporary snapshot file in /tmp. However, since O_DIRECT and tmpfs do not work well together, disable this test for -nocache.

Thanks, applied to the block branch.

Kevin