qcow2: Get rid of additional sync on COW
commit9f8e668eb1826434f61a63ff260d6c8b466e483a
authorKevin Wolf <kwolf@redhat.com>
Fri, 17 Sep 2010 15:02:09 +0000 (17 17:02 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 21 Sep 2010 13:39:42 +0000 (21 15:39 +0200)
treee2838a4e50defffc9e148aaa63ed397da5302e1a
parent29216ed14f0bae35d1d9bb114a1aee7ee6837670
qcow2: Get rid of additional sync on COW

We always have a sync for the refcount update when a new cluster is
allocated. If we move this past the COW, we can save an additional sync.

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