All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: "Benoît Canet" <benoit.canet@irqsave.net>
Cc: Boris Sukholitko <boriss@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/2] Virtio-9p live migration patchset
Date: Wed, 01 Oct 2014 08:43:35 +0200	[thread overview]
Message-ID: <87sij8gui0.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <20140930191748.GA14250@irqsave.net> ("Benoît Canet"'s message of "Tue, 30 Sep 2014 21:17:48 +0200")

Benoît Canet <benoit.canet@irqsave.net> writes:

> The Tuesday 30 Sep 2014 à 22:08:12 (+0300), Boris Sukholitko wrote :
>> On Tue, Sep 30, 2014 at 12:46 AM, Benoît Canet
>> <benoit.canet@irqsave.net> wrote:
>> > The Friday 26 Sep 2014 à 18:19:55 (+0300), Boris Sukholitko wrote :
>> >> This patchset is a small rebase of the 9p live migration patches
>> >> made a year
>> >> ago by Benoit Canet.
>> >>
>> >> See http://lists.gnu.org/archive/html/qemu-devel/2013-04/msg02190.html
>> >> for the previous thread.
>> >>
>> >> I took the liberty to drop the second patch (waiting for completion of 9p
>> >> operations) as it wasn't working in my testing.
>> >
>> > It's probable that the second patch has bitrot but I remember I was asked to
>> > write it for a meaningfull reason.
>> 
>> AFAICT, the reason was to drain requests queue before saving the state.
>> 
>> Unfortunately, releasing BQL haven't led to the callbacks being executed.
>> Therefore deadlock ensued.
>> 
>> > Maybe you should give it a bit more love to resurect it properly.
>> >
>> 
>> I probably should. Still, IMHO, the two patches work good enough
>> to deserve merging on their own right :)
>
> I am afraid nobody will want to merge a patchset where there is a
> theorical potential bug.
>
> It should work as well on paper as on silicon.

Imperfect or incomplete patches *may* be acceptable when

A. they strictly improve things, and

B. their shortcomings are written down.

Example of a strict improvement: before the patch, live migration always
fails.  After the patch, it succeeds most of the time, but can still
fail in certain states.

Counter-example: before the patch, live migration always fails.  After
the patch, it succeeds, but can corrupt data in certain states.

      reply	other threads:[~2014-10-01  6:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-26 15:19 [Qemu-devel] [PATCH 0/2] Virtio-9p live migration patchset Boris Sukholitko
2014-09-26 15:19 ` [Qemu-devel] [PATCH 1/2] virtio-9p: Add support for 9p migration Boris Sukholitko
2014-09-29 21:48   ` Benoît Canet
2014-09-30 19:13     ` Boris Sukholitko
2014-09-26 15:19 ` [Qemu-devel] [PATCH 2/2] virtio-9p: Remove migration blockers Boris Sukholitko
2014-09-29 21:46 ` [Qemu-devel] [PATCH 0/2] Virtio-9p live migration patchset Benoît Canet
2014-09-30 19:08   ` Boris Sukholitko
2014-09-30 19:17     ` Benoît Canet
2014-10-01  6:43       ` Markus Armbruster [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=87sij8gui0.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=benoit.canet@irqsave.net \
    --cc=boriss@gmail.com \
    --cc=qemu-devel@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.