-
Notifications
You must be signed in to change notification settings - Fork 4
/
009.out
114 lines (114 loc) · 3.24 KB
/
009.out
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
QA output created by 009
*** mkfs
*** mount
*** test 1 - reservations cleared on O_TRUNC
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 0
blocksize BSIZE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
filesize = 0
*** test 2 - reserve & filesize
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 0
*** test 3 - alloc & filesize
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
filesize = 4096000
*** test 4 - allocations cleared on O_TRUNC
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
filesize = 4096000
blocksize BSIZE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
filesize = 0
*** test 5 - reserve / unreserve
blocksize BSIZE
CMD resvsp, off=0, len=409600
MAP off=0, len=409600 [0,100]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD unresvsp, off=409600, len=2048000
MAP off=409600, len=2048000 [100,500]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD unresvsp, off=3686400, len=819200
MAP off=3686400, len=819200 [900,200]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
*** test 6 - reserve adjacent
blocksize BSIZE
CMD resvsp, off=0, len=409600
MAP off=0, len=409600 [0,100]
[ofs,count]: start..end
[0,100]: BLOCKRANGE
CMD resvsp, off=409600, len=409600
MAP off=409600, len=409600 [100,100]
[ofs,count]: start..end
[100,100]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,200]: BLOCKRANGE
*** test 7 - alloc
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
CMD allocsp, off=8192000, len=-1
MAP off=8192000, len=-1 [2000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,2000]: BLOCKRANGE
filesize = 8192000
*** test 8 - alloc & truncate
blocksize BSIZE
CMD allocsp, off=4096000, len=-1
MAP off=4096000, len=-1 [1000-]
[ofs,count]: start..end
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
TRUNCATE off=2048000
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,500]: BLOCKRANGE
filesize = 2048000
*** test 9 - reserve & truncate
blocksize BSIZE
CMD resvsp, off=0, len=4096000
MAP off=0, len=4096000 [0,1000]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
TRUNCATE off=2048000
MAP off=0, len=-1 [0-]
[ofs,count]: start..end
[0,1000]: BLOCKRANGE
filesize = 2048000
*** unmount