1 QA output created by 175
2 -- test dmpunch-hole without an extent size hint --
3 # testing 4096 0 256 240 16 d 0 256 w p noresv ...
4 + mounting with dmapi enabled
5 # spawning test file with 4096 256 0 punch_test_file noresv
7 + not using resvsp at file creation
8 # writing with 4096 0 256 punch_test_file
9 # showing file state punch_test_file
11 EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
12 0: [0..2047]: 96..2143 0 (96..2143) 2048 00000
14 010000 Unwritten preallocated extent
15 001000 Doesn't begin on stripe unit
16 000100 Doesn't end on stripe unit
17 000010 Doesn't begin on stripe width
18 000001 Doesn't end on stripe width
19 # punching with 4096 240 16 d punch_test_file
20 + hole punch using dmapi punch_hole
21 # showing file state punch_test_file
23 EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
24 0: [0..1919]: 96..2015 0 (96..2015) 1920 00000
25 1: [1920..2047]: hole 128
27 010000 Unwritten preallocated extent
28 001000 Doesn't begin on stripe unit
29 000100 Doesn't end on stripe unit
30 000010 Doesn't begin on stripe width
31 000001 Doesn't end on stripe width
33 -- this time use a 4k (one block) extent size hint --
34 # testing 4096 1 256 240 16 d 0 256 w p noresv ...
35 + mounting with dmapi enabled
36 # spawning test file with 4096 256 1 punch_test_file noresv
37 + setting extent size hint to 4096
38 [4096] punch_test_file
39 + not using resvsp at file creation
40 # writing with 4096 0 256 punch_test_file
41 # showing file state punch_test_file
43 EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
44 0: [0..2047]: 96..2143 0 (96..2143) 2048 00000
46 010000 Unwritten preallocated extent
47 001000 Doesn't begin on stripe unit
48 000100 Doesn't end on stripe unit
49 000010 Doesn't begin on stripe width
50 000001 Doesn't end on stripe width
51 # punching with 4096 240 16 d punch_test_file
52 + hole punch using dmapi punch_hole
53 # showing file state punch_test_file
55 EXT: FILE-OFFSET BLOCK-RANGE AG AG-OFFSET TOTAL FLAGS
56 0: [0..1919]: 96..2015 0 (96..2015) 1920 00000
57 1: [1920..2047]: hole 128
59 010000 Unwritten preallocated extent
60 001000 Doesn't begin on stripe unit
61 000100 Doesn't end on stripe unit
62 000010 Doesn't begin on stripe width
63 000001 Doesn't end on stripe width