diff options
author | Fam Zheng <famz@redhat.com> | 2013-10-18 13:17:19 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-10-18 13:39:59 +0200 |
commit | c338b6ad609699cf352c8dd6338360b7e3895ad0 (patch) | |
tree | f19139d75eb97730a936accdb1b04f7020f0bba4 /CODING_STYLE | |
parent | b432779a9fe9c2a1bb8cbd98feb341af6e32f892 (diff) |
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 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions