diff options
author | Kevin Wolf <kwolf@redhat.com> | 2009-06-26 20:19:38 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 14:18:07 -0500 |
commit | 3b88e52b41fe77728b4accb68e14bed98bdc75d3 (patch) | |
tree | bb12b001b4a7334cac55fd0e4c3eea3b77b46133 /x_keymap.h | |
parent | 22afa7b5b67bb8bc58939d100363ee6753a50467 (diff) | |
download | hqemu-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 'x_keymap.h')
0 files changed, 0 insertions, 0 deletions