summaryrefslogtreecommitdiffstats
path: root/tests/expected/blkdiscard/offsets
blob: aa90f2f9ef17be3db4edd178f825077502564889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
create loop device from image
testing offsets with full block size
Discarded 10485760 bytes from the offset 0
ret: 0
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 511 is not aligned to sector size 512
ret: 1
Discarded 10485248 bytes from the offset 512
ret: 0
Discarded 10484736 bytes from the offset 1024
ret: 0
testing offsets with specific length
Discarded 5242880 bytes from the offset 0
ret: 0
blkdiscard: length 5242881 is not aligned to sector size 512
ret: 1
blkdiscard: length 5243391 is not aligned to sector size 512
ret: 1
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 511 is not aligned to sector size 512
ret: 1
Discarded 5242880 bytes from the offset 512
ret: 0
Discarded 5242880 bytes from the offset 1024
ret: 0
testing aligned steps full device
Discarded 10485760 bytes from the offset 0
ret: 0
Discarded 10485760 bytes from the offset 0
ret: 0
testing aligned steps with offsets and length
Discarded 1024 bytes from the offset 0
ret: 0
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 511 is not aligned to sector size 512
ret: 1
Discarded 1536 bytes from the offset 512
ret: 0
Discarded 1024 bytes from the offset 1024
ret: 0
testing misaligned steps full device
blkdiscard: length 1 is not aligned to sector size 512
ret: 1
blkdiscard: length 256 is not aligned to sector size 512
ret: 1
blkdiscard: length 511 is not aligned to sector size 512
ret: 1
blkdiscard: length 513 is not aligned to sector size 512
ret: 1
blkdiscard: length 768 is not aligned to sector size 512
ret: 1
testing misaligned steps with offsets and length
blkdiscard: length 511 is not aligned to sector size 512
ret: 1
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 511 is not aligned to sector size 512
ret: 1
blkdiscard: length 511 is not aligned to sector size 512
ret: 1
blkdiscard: offset 1 is not aligned to sector size 512
ret: 1
blkdiscard: offset 511 is not aligned to sector size 512
ret: 1
detach loop device from image