From: Stefan Hajnoczi <stefanha@gmail.com>
To: Fam Zheng <famz@redhat.com>
Cc: kwolf@redhat.com, qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2] vmdk: Only read cid from image file when opening
Date: Fri, 18 Oct 2013 13:40:21 +0200 [thread overview]
Message-ID: <20131018114021.GB17031@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1382073439-27285-1-git-send-email-famz@redhat.com>
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 <famz@redhat.com>
>
> ---
> v2: Use cid_checked. (Stefan)
>
> Signed-off-by: Fam Zheng <famz@redhat.com>
> ---
> 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
prev parent reply other threads:[~2013-10-18 11:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 5:17 [Qemu-devel] [PATCH v2] vmdk: Only read cid from image file when opening Fam Zheng
2013-10-18 11:40 ` Stefan Hajnoczi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131018114021.GB17031@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).