summaryrefslogtreecommitdiff
path: root/qobject
diff options
context:
space:
mode:
authorCharlie Shepherd <charlie@ctshepherd.com>2013-11-15 19:47:01 +0100
committerKevin Wolf <kwolf@redhat.com>2013-11-29 13:40:36 +0100
commit14b98fdaf3422fef19718033be9eca7e0b776a26 (patch)
treebdb0f5783e821edb482247c161692ba9528aa060 /qobject
parent21b568350861a2c6eedfef95b70f88faf2fbd32a (diff)
downloadqemu-14b98fdaf3422fef19718033be9eca7e0b776a26.tar.gz
COW: Speed up writes
Process a whole sector's worth of COW bits by reading a sector, setting the bits after skipping any already set bits, then writing it out again. Make sure we only flush once before writing metadata, and only if we need to write metadata. Signed-off-by: Charlie Shepherd <charlie@ctshepherd.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions