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)
commit95762a79aaaa0f7cea5a9a934bdf8466bf2fd614
tree92e2b4bf3e581fa1c2b1cbe5eeb9d860f9ddd60b
parent31163aeb3fd9778d2c1813b863538caf0eb76a89
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