From: Kevin Wolf <kwolf@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, xuanmao_001@163.com, stefanha@redhat.com,
mreitz@redhat.com
Subject: [Qemu-devel] [PATCH 0/2] qcow2: Discard VM state in active L1 after creating snapshot
Date: Fri, 6 Sep 2013 12:32:24 +0200 [thread overview]
Message-ID: <1378463546-26671-1-git-send-email-kwolf@redhat.com> (raw)
This series fixes that 'savevm' becomes much slower after the first snapshot.
The reason is unnecessary COW for the VM state, which is now avoided.
Kevin Wolf (2):
qcow2: Pass discard type to qcow2_discard_clusters()
qcow2: Discard VM state in active L1 after creating snapshot
block/qcow2-cluster.c | 8 ++++----
block/qcow2-snapshot.c | 7 +++++++
block/qcow2.c | 7 +------
block/qcow2.h | 7 ++++++-
4 files changed, 18 insertions(+), 11 deletions(-)
--
1.8.1.4
next reply other threads:[~2013-09-06 10:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-06 10:32 Kevin Wolf [this message]
2013-09-06 10:32 ` [Qemu-devel] [PATCH 1/2] qcow2: Pass discard type to qcow2_discard_clusters() Kevin Wolf
2013-09-06 10:32 ` [Qemu-devel] [PATCH 2/2] qcow2: Discard VM state in active L1 after creating snapshot Kevin Wolf
2013-09-09 14:27 ` [Qemu-devel] [PATCH 0/2] " Max Reitz
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=1378463546-26671-1-git-send-email-kwolf@redhat.com \
--to=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=xuanmao_001@163.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).