Searched hist:"8 a4266144ebffceb8fda2a5feb03d23c535923d4" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/ |
H A D | block.c | diff 8a4266144ebffceb8fda2a5feb03d23c535923d4 Fri Jul 16 10:17:01 CDT 2010 Kevin Wolf <kwolf@redhat.com> block: Change bdrv_commit to handle multiple sectors at once
bdrv_commit copies the image to its backing file sector by sector, which is (surprise!) relatively slow. Let's take a larger buffer and handle more sectors at once if possible.
With a 1G qcow2 file, this brought the time bdrv_commit takes down from 5:06 min to 1:14 min for me.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
|