xfstests: randholes: encapsulate direct I/O setup code
[xfstests-dev.git] / 176.out
1 QA output created by 176
2 -- test dmpunch-hole with resvsp on file create --
3 # testing 4096 0 256 240 16 d 0 256 w p ...
4 + mounting with dmapi enabled
5 # spawning test file with 4096 256 0 punch_test_file
6 [0] punch_test_file
7 # writing with 4096 0 256 punch_test_file
8 # showing file state punch_test_file
9 punch_test_file:
10  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
11    0: [0..2047]:       96..2143          0 (96..2143)        2048 00000
12  FLAG Values:
13     010000 Unwritten preallocated extent
14     001000 Doesn't begin on stripe unit
15     000100 Doesn't end   on stripe unit
16     000010 Doesn't begin on stripe width
17     000001 Doesn't end   on stripe width
18 # punching with 4096 240 16 d punch_test_file
19 + hole punch using dmapi punch_hole
20 # showing file state punch_test_file
21 punch_test_file:
22  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
23    0: [0..1919]:       96..2015          0 (96..2015)        1920 00000
24    1: [1920..2047]:    hole                                   128
25  FLAG Values:
26     010000 Unwritten preallocated extent
27     001000 Doesn't begin on stripe unit
28     000100 Doesn't end   on stripe unit
29     000010 Doesn't begin on stripe width
30     000001 Doesn't end   on stripe width
31
32 -- this time dont use resvsp --
33 # testing 4096 0 256 240 16 d 0 256 w p noresv ...
34 + mounting with dmapi enabled
35 # spawning test file with 4096 256 0 punch_test_file noresv
36 [0] punch_test_file
37 + not using resvsp at file creation
38 # writing with 4096 0 256 punch_test_file
39 # showing file state punch_test_file
40 punch_test_file:
41  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
42    0: [0..2047]:       96..2143          0 (96..2143)        2048 00000
43  FLAG Values:
44     010000 Unwritten preallocated extent
45     001000 Doesn't begin on stripe unit
46     000100 Doesn't end   on stripe unit
47     000010 Doesn't begin on stripe width
48     000001 Doesn't end   on stripe width
49 # punching with 4096 240 16 d punch_test_file
50 + hole punch using dmapi punch_hole
51 # showing file state punch_test_file
52 punch_test_file:
53  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
54    0: [0..1919]:       96..2015          0 (96..2015)        1920 00000
55    1: [1920..2047]:    hole                                   128
56  FLAG Values:
57     010000 Unwritten preallocated extent
58     001000 Doesn't begin on stripe unit
59     000100 Doesn't end   on stripe unit
60     000010 Doesn't begin on stripe width
61     000001 Doesn't end   on stripe width
62
63
64 -- test unresvsp hole punch with resvsp on file create --
65 # testing 4096 0 256 240 16 u 0 256 w p ...
66 # spawning test file with 4096 256 0 punch_test_file
67 [0] punch_test_file
68 # writing with 4096 0 256 punch_test_file
69 # showing file state punch_test_file
70 punch_test_file:
71  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
72    0: [0..2047]:       96..2143          0 (96..2143)        2048 00000
73  FLAG Values:
74     010000 Unwritten preallocated extent
75     001000 Doesn't begin on stripe unit
76     000100 Doesn't end   on stripe unit
77     000010 Doesn't begin on stripe width
78     000001 Doesn't end   on stripe width
79 # punching with 4096 240 16 u punch_test_file
80 + hole punch using unresvsp
81 # showing file state punch_test_file
82 punch_test_file:
83  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
84    0: [0..1919]:       96..2015          0 (96..2015)        1920 00000
85    1: [1920..2047]:    hole                                   128
86  FLAG Values:
87     010000 Unwritten preallocated extent
88     001000 Doesn't begin on stripe unit
89     000100 Doesn't end   on stripe unit
90     000010 Doesn't begin on stripe width
91     000001 Doesn't end   on stripe width
92
93 -- this time dont use resvsp --
94 # testing 4096 0 256 240 16 u 0 256 w p noresv ...
95 # spawning test file with 4096 256 0 punch_test_file noresv
96 [0] punch_test_file
97 + not using resvsp at file creation
98 # writing with 4096 0 256 punch_test_file
99 # showing file state punch_test_file
100 punch_test_file:
101  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
102    0: [0..2047]:       96..2143          0 (96..2143)        2048 00000
103  FLAG Values:
104     010000 Unwritten preallocated extent
105     001000 Doesn't begin on stripe unit
106     000100 Doesn't end   on stripe unit
107     000010 Doesn't begin on stripe width
108     000001 Doesn't end   on stripe width
109 # punching with 4096 240 16 u punch_test_file
110 + hole punch using unresvsp
111 # showing file state punch_test_file
112 punch_test_file:
113  EXT: FILE-OFFSET      BLOCK-RANGE      AG AG-OFFSET        TOTAL FLAGS
114    0: [0..1919]:       96..2015          0 (96..2015)        1920 00000
115    1: [1920..2047]:    hole                                   128
116  FLAG Values:
117     010000 Unwritten preallocated extent
118     001000 Doesn't begin on stripe unit
119     000100 Doesn't end   on stripe unit
120     000010 Doesn't begin on stripe width
121     000001 Doesn't end   on stripe width