Lines Matching full:the

9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # You should have received a copy of the GNU General Public License
28 status=1 # failure is the default!
54 # Preallocation speeds up the write operation, but preallocating everything will
55 # destroy the purpose of the write; so preallocate one KB less than what would
58 # ...and make the image the desired size afterwards.
61 # The first write results in a growth of the refcount table during an allocation
62 # which has precisely the required size so that the new refcount block allocated
65 # cached (a refblock with one entry having a refcount of 1), and the second
68 # This should not happen, the new refcount structures may not conflict with
70 # (Note that for some reason, 'write 63M 1K' does not trigger the problem)
82 # the start of the image becoming free
85 # This write results in a refcount table growth; but the refblock allocated
88 # self-describing). The refcount table growth algorithm then used to place the
89 # new refcount structures at cluster index 65536 (which is the same as the
92 # Therefore, the new refcount structures may not be put at cluster_index
93 # (because new_block already describes that cluster, and the new structures try
100 echo '=== Allocating a new refcount block must not leave holes in the image ==='
105 # This results in an image with 256 used clusters: the qcow2 header,
106 # the refcount table, one refcount block, the L1 table, four L2 tables
113 # All 256 entries of the refcount block are used, so writing a new
117 # Two more clusters, the image size should be 129K now