summaryrefslogtreecommitdiff
path: root/bsd-user/x86_64
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2013-10-18 13:17:19 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2013-10-18 13:39:59 +0200
commitc338b6ad609699cf352c8dd6338360b7e3895ad0 (patch)
treef19139d75eb97730a936accdb1b04f7020f0bba4 /bsd-user/x86_64
parentb432779a9fe9c2a1bb8cbd98feb341af6e32f892 (diff)
downloadqemu-c338b6ad609699cf352c8dd6338360b7e3895ad0.tar.gz
vmdk: Only read cid from image file when opening
Previously cid of parent is parsed from image file for every IO request. We already have L1/L2 cache and don't have assumption that parent image can be updated behind us, so remove this to get more efficiency. The parent CID is checked only for once after opening. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'bsd-user/x86_64')
0 files changed, 0 insertions, 0 deletions