All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@inktank.com>
To: mdroth <mdroth@linux.vnet.ibm.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	Doug Goldstein <cardoe@gentoo.org>,
	qemu-devel <qemu-devel@nongnu.org>,
	qemu-stable@nongnu.org
Subject: Re: [Qemu-devel] [Qemu-stable]  Patch Round-up for stable 1.4.2, freeze on Monday
Date: Fri, 17 May 2013 13:43:28 -0700	[thread overview]
Message-ID: <51969670.9000302@inktank.com> (raw)
In-Reply-To: <20130517190813.GD2441@vm>

On 05/17/2013 12:08 PM, mdroth wrote:
> On Fri, May 17, 2013 at 10:46:15AM -0500, Doug Goldstein wrote:
>> On Tue, May 14, 2013 at 4:52 PM, Michael Roth <mdroth@linux.vnet.ibm.com>wrote:
>>
>>> Hi everyone,
>>>
>>> The following new patches are queued for QEMU stable v1.4.2:
>>>
>>> https://github.com/mdroth/qemu/commits/stable-1.4-staging
>>>
>>> The release is planned for 05-24-2013:
>>>
>>> http://wiki.qemu.org/Planning/1.4
>>>
>>> Please CC qemu-stable@nongnu.org on any patches you think should be
>>> included in the release. The cut-off date is 05-20-2013 for new patches.
>>>
>>> Testing/feedback is greatly appreciated.
>>>
>>> Thanks!
>>>
>>>
>> Michael,
>>
>> I have one patch in my 1.4 stable queue.
>>
>> From: Paolo Bonzini <pbonzini@redhat.com>
>> Date: Wed, 13 Mar 2013 14:58:13 +0000 (+0100)
>> Subject: qemu-iotests: add tests for rebasing zero clusters
>> X-Git-Url: http://git.qemu.org/?p=qemu.git;a=commitdiff_plain;h=acbf30ec601b1f817febc4500025b7c4181312c4
>>
>> qemu-iotests: add tests for rebasing zero clusters
>>
>> If zero clusters are erroneously treated as unallocated, "qemu-img rebase"
>> will copy the backing file's contents onto the cluster.
>>
>> The bug existed also in image streaming, but since the root cause was in
>> qcow2's is_allocated implementation it is enough to test it with qemu-img.
>>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
>>
>> ---
>>
>>
>> It only adds a test for something that was fixed in 1.4.1 (maybe was fixed
>> by the final 1.4.0 release I can't recall).
>
> Thanks, pushed this to staging along with what should be all outstanding
> patches noted so far.

Could you add the patch:

commit dc7588c1eb3008bda53dde1d6b890cd299758155
Author: Josh Durgin <josh.durgin@inktank.com>
Date:   Fri Mar 29 13:03:23 2013 -0700

rbd: add an asynchronous flush

The existing bdrv_co_flush_to_disk implementation uses rbd_flush(),
which is sychronous and causes the main qemu thread to block until it
is complete. This results in unresponsiveness and extra latency for
the guest.

Fix this by using an asynchronous version of flush.  This was added to
librbd with a special #define to indicate its presence, since it will
be backported to stable versions. Thus, there is no need to check the
version of librbd.

Implement this as bdrv_aio_flush, since it matches other aio functions
in the rbd block driver, and leave out bdrv_co_flush_to_disk when the
asynchronous version is available.

Reported-by: Oliver Francke <oliver@filoo.de>
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

I sent a cherry-pick of it to qemu-stable a couple days ago, although
it applies to the stable-1.4 branch cleanly. It fixes a significant
interactivity and performance problem when rbd is used with caching
enabled.

Thanks,
Josh

  reply	other threads:[~2013-05-17 20:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14 21:52 [Qemu-devel] Patch Round-up for stable 1.4.2, freeze on Monday Michael Roth
2013-05-14 21:52 ` [Qemu-devel] [PATCH 01/15] nbd: unlock mutex in nbd_co_send_request() error path Michael Roth
2013-05-14 21:52 ` [Qemu-devel] [PATCH 02/15] qdev: Fix QOM unrealize behavior Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 03/15] rng random backend: check for -EAGAIN errors on read Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 04/15] tap: properly initialize vhostfds Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 05/15] virtio-ccw: Check indicators location Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 06/15] configure: Pick up libseccomp include path Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 07/15] target-mips: Fix accumulator arguments to gen_helper_dmult(u) Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 08/15] tcg/optimize: fix setcond2 optimization Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 09/15] qga: set umask 0077 when daemonizing (CVE-2013-2007) Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 10/15] tcg: Document tcg_qemu_tb_exec() and provide constants for low bit uses Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 11/15] cpu-exec: wrap tcg_qemu_tb_exec() in a fn to restore the PC Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 12/15] Handle CPU interrupts by inline checking of a flag Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 13/15] translate-all.c: Remove cpu_unlink_tb() Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 14/15] qga: distinguish binary modes in "guest_file_open_modes" map Michael Roth
2013-05-14 21:53 ` [Qemu-devel] [PATCH 15/15] qga: unlink just created guest-file if fchmod() or fdopen() fails on it Michael Roth
2013-05-15  4:49 ` [Qemu-devel] Patch Round-up for stable 1.4.2, freeze on Monday Michael Tokarev
2013-05-15  4:51   ` Michael Tokarev
2013-05-15 14:09 ` Brad Smith
2013-05-15 16:25   ` mdroth
2013-05-15 21:48 ` Cole Robinson
2013-05-16 17:20   ` mdroth
2013-05-17 12:43 ` Luiz Capitulino
2013-05-17 15:46 ` Doug Goldstein
2013-05-17 19:08   ` mdroth
2013-05-17 20:43     ` Josh Durgin [this message]
2013-05-17 21:01       ` [Qemu-devel] [Qemu-stable] " mdroth

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=51969670.9000302@inktank.com \
    --to=josh.durgin@inktank.com \
    --cc=aliguori@us.ibm.com \
    --cc=cardoe@gentoo.org \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-stable@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.