Lines Matching +full:c +full:- +full:22
6 # Copyright (C) 2016-2018 Red Hat, Inc.
54 $QEMU_IO -c "write -P 11 0 $size" "$TEST_IMG.base" | _filter_qemu_io
55 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT
56 $QEMU_IO -c "write -P 22 0 $size" "$TEST_IMG" | _filter_qemu_io
58 # Limited to 64k max-transfer
60 echo "== constrained alignment and max-transfer =="
61 limits=align=4k,max-transfer=64k
62 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
63 -c "write -P 33 1000 128k" -c "read -P 33 1000 128k" | _filter_qemu_io
66 echo "== write zero with constrained max-transfer =="
67 limits=align=512,max-transfer=64k,opt-write-zero=$CLUSTER_SIZE
68 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
69 -c "write -z 8003584 2093056" | _filter_qemu_io
71 # non-power-of-2 write-zero/discard alignments
73 echo "== non-power-of-2 write zeroes limits =="
75 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
76 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
77 -c "write -z 32M 32M" | _filter_qemu_io
80 echo "== non-power-of-2 discard limits =="
82 limits=align=512,opt-write-zero=15M,max-write-zero=15M,opt-discard=15M,max-discard=15M
83 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \
84 -c "discard 80000001 30M" | _filter_qemu_io
91 if ($QEMU_IMG info -f "$IMGFMT" "$TEST_IMG" |
95 discarded=22
101 echo read -P 22 0 1000
102 echo read -P 33 1000 128k
103 echo read -P 22 132072 7871512
104 echo read -P 0 8003584 2093056
105 echo read -P 22 10096640 23457792
106 echo read -P 0 32M 32M
107 echo read -P 22 64M 13M
108 echo read -P $discarded 77M 29M
109 echo read -P 22 106M 22M
112 verify_io | $QEMU_IO -r "$TEST_IMG" | _filter_qemu_io