summaryrefslogtreecommitdiffstats
path: root/bsd-user
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-06-26 20:19:38 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-29 14:18:07 -0500
commit3b88e52b41fe77728b4accb68e14bed98bdc75d3 (patch)
treebb12b001b4a7334cac55fd0e4c3eea3b77b46133 /bsd-user
parent22afa7b5b67bb8bc58939d100363ee6753a50467 (diff)
downloadhqemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.zip
hqemu-3b88e52b41fe77728b4accb68e14bed98bdc75d3.tar.gz
qcow2: Cache refcount blocks during snapshot creation
The really time consuming part of snapshotting is to adjust the reference count of all clusters. Currently after each adjusted cluster the refcount block is written to disk. Don't write each single byte immediately to disk but cache all writes to the refcount block and write them out once we're done with the block. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud