qcow2: Update multiple refcounts at once
authorKevin Wolf <kwolf@redhat.com>
Tue, 26 May 2009 12:36:03 +0000 (14:36 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 May 2009 14:45:20 +0000 (09:45 -0500)
commita980c98cf1acb3e813428d4f783a8ebd153ef036
tree92e2b4bf3e581fa1c2b1cbe5eeb9d860f9ddd60b
parent44ff42de1c2df7255108d88e98c2bfe6e7bdbf88
qcow2: Update multiple refcounts at once

Don't write each single changed refcount block entry to the disk after it is
written, but update all entries of the block and write all of them at once.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block/qcow2.c