]> git.ipfire.org Git - thirdparty/qemu.git/commit
qcow2: Remove unnecessary flush after L2 write
authorKevin Wolf <kwolf@redhat.com>
Wed, 1 Sep 2010 10:40:52 +0000 (12:40 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 8 Sep 2010 10:39:24 +0000 (12:39 +0200)
commit7ec5e6a4ca43494949465f9f9f3d9e4c7c620503
tree7f02b3c1cb40ba84087a2395cde051558650c1a9
parentceb25e5c7554255931f7f5647d3ad9df36111f53
qcow2: Remove unnecessary flush after L2 write

When a new cluster was allocated, we only need a flush after the write to the
L2 table if it was a COW and we need to decrease the refcounts of the old
clusters.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c