1=== Test backup(sync=none) based fleecing ===
2
3--- Setting up images ---
4
5Done
6
7--- Launching VM ---
8
9Done
10
11--- Setting up Fleecing Graph ---
12
13{"return": {}}
14{"return": {}}
15
16--- Setting up NBD Export ---
17
18{"return": {}}
19{"return": {}}
20
21--- Sanity Check ---
22
23read -P0x5d 0 64k
24read -P0xd5 1M 64k
25read -P0xdc 32M 64k
26read -P0xcd 0x3ff0000 64k
27read -P0 0x00f8000 32k
28read -P0 0x2010000 32k
29read -P0 0x3fe0000 64k
30
31--- Testing COW ---
32
33write -P0xab 0 64k
34{"return": ""}
35write -P0xad 0x00f8000 64k
36{"return": ""}
37write -P0x1d 0x2008000 64k
38{"return": ""}
39write -P0xea 0x3fe0000 64k
40{"return": ""}
41
42--- Verifying Data ---
43
44read -P0x5d 0 64k
45read -P0xd5 1M 64k
46read -P0xdc 32M 64k
47read -P0xcd 0x3ff0000 64k
48read -P0 0x00f8000 32k
49read -P0 0x2010000 32k
50read -P0 0x3fe0000 64k
51
52--- Cleanup ---
53
54{"return": {}}
55{"data": {"device": "fleecing", "len": 67108864, "offset": 393216, "speed": 0, "type": "backup"}, "event": "BLOCK_JOB_CANCELLED", "timestamp": {"microseconds": "USECS", "seconds": "SECS"}}
56{"return": {}}
57{"return": {}}
58
59--- Confirming writes ---
60
61read -P0xab 0 64k
62read -P0xad 0x00f8000 64k
63read -P0x1d 0x2008000 64k
64read -P0xea 0x3fe0000 64k
65read -P0xd5 0x108000 32k
66read -P0xdc 32M 32k
67read -P0xcd 0x3ff0000 64k
68
69Done
70=== Test filter based fleecing ===
71
72--- Setting up images ---
73
74Done
75
76--- Launching VM ---
77
78Done
79
80--- Setting up Fleecing Graph ---
81
82{"return": {}}
83{"return": {}}
84{"return": {}}
85
86--- Setting up NBD Export ---
87
88{"return": {}}
89{"return": {}}
90
91--- Sanity Check ---
92
93read -P0x5d 0 64k
94read -P0xd5 1M 64k
95read -P0xdc 32M 64k
96read -P0xcd 0x3ff0000 64k
97read -P0 0x00f8000 32k
98read -P0 0x2010000 32k
99read -P0 0x3fe0000 64k
100
101--- Testing COW ---
102
103write -P0xab 0 64k
104{"return": ""}
105write -P0xad 0x00f8000 64k
106{"return": ""}
107write -P0x1d 0x2008000 64k
108{"return": ""}
109write -P0xea 0x3fe0000 64k
110{"return": ""}
111
112--- Verifying Data ---
113
114read -P0x5d 0 64k
115read -P0xd5 1M 64k
116read -P0xdc 32M 64k
117read -P0xcd 0x3ff0000 64k
118read -P0 0x00f8000 32k
119read -P0 0x2010000 32k
120read -P0 0x3fe0000 64k
121
122--- Cleanup ---
123
124{"return": {}}
125{"return": {}}
126{"return": {}}
127{"return": {}}
128
129--- Confirming writes ---
130
131read -P0xab 0 64k
132read -P0xad 0x00f8000 64k
133read -P0x1d 0x2008000 64k
134read -P0xea 0x3fe0000 64k
135read -P0xd5 0x108000 32k
136read -P0xdc 32M 32k
137read -P0xcd 0x3ff0000 64k
138
139Done
140