Lines Matching +full:two +full:- +full:factor
4 # Test qemu-img vs. unaligned images; O_DIRECT version
51 # going to be a factor of 1 MB
52 size=$((1 * 1024 * 1024 - 1))
54 # qemu-img create rounds size up to BDRV_SECTOR_SIZE
56 $QEMU_IMG map --output=json --image-opts \
61 truncate --size=$size "$TEST_IMG"
62 $QEMU_IMG map --output=json --image-opts \
66 # qemu-io with O_DIRECT always writes whole physical sectors. Again,
69 offset=$((1 * 1024 * 1024 - 64 * 1024))
70 $QEMU_IO -c "w $offset $((size - offset))" "$TEST_IMG" | _filter_qemu_io
71 $QEMU_IMG map --output=json --image-opts \
75 # Resize it and check again -- contrary to 221, we may not get partial
76 # sectors here, so there should be only two areas (one zero, one
78 truncate --size=$size "$TEST_IMG"
79 $QEMU_IMG map --output=json --image-opts \
85 rm -f $seq.full