commit | c338b6ad609699cf352c8dd6338360b7e3895ad0 | [log] [tgz] |
---|---|---|
author | Fam Zheng <famz@redhat.com> | Fri Oct 18 13:17:19 2013 +0800 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Oct 18 13:39:59 2013 +0200 |
tree | f19139d75eb97730a936accdb1b04f7020f0bba4 | |
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>