qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] vmdk: Only read cid from image file when ope


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v2] vmdk: Only read cid from image file when opening
Date: Fri, 18 Oct 2013 13:40:21 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Oct 18, 2013 at 01:17:19PM +0800, Fam Zheng wrote:
> 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 <address@hidden>
> 
> ---
> v2: Use cid_checked. (Stefan)
> 
> Signed-off-by: Fam Zheng <address@hidden>
> ---
>  block/vmdk.c | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]