From: Eric Blake <eblake@redhat.com>
To: guillaume vincke <guillaume.vincke@ovhcloud.com>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org,
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>,
Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>,
Markus Armbruster <armbru@redhat.com>
Subject: Re: [PATCH v3 2/2] iotests: Add coverage for x-debug-query-nbd-client QMP command
Date: Tue, 1 Dec 2026 11:28:27 -0600 [thread overview]
Message-ID: <aw8DYXKyh8WnRgIV@redhat.com> (raw)
In-Reply-To: <4a4c66db-9863-4aec-a77e-475bceb74c0d@ovhcloud.com>
On Tue, Dec 01, 2026 at 05:57:15PM +0100, guillaume vincke wrote:
> On 12/1/26 16:39, Eric Blake wrote:
> > On Mon, Nov 30, 2026 at 12:13:27PM +0100, Guillaume Vincke wrote:
> > > Check that running it on a nonexistent or non-nbd node fails. Also
> > > check each state reached when the server restarts.
> > >
> > > Running x-qemu-io on a bare node would drain its temporary
> > > BlockBackend, which blocks until the request completes and hides
> > > connecting-wait. We force the I/O to go through a device to avoid this
> > > issue.
> > >
> > > Signed-off-by: Guillaume Vincke <guillaume.vincke@ovhcloud.com>
> > > ---
> >
> > I tried to think of a reliable way to show a client in the "quit"
> > state, but am not coming up with anything easy. If I understand, that
> > state exists in the small window between when the client has stopped
> > transmission (such as if we just did a yank on the client) but the
> > socket still hasn't been cleaned up. So the set of states that you
> > did manage to test is reasonable.
>
> Once we reach the quit state, it does not go away. Even once the socket
> is cleaned up.
> Using QMP yank will move the client to the quit state. I can add that
> step in v4 if you want.
If it reliably works for exposing the quit state in the test, I'm game
to see that change.
> Can I keep your Reviewed-by with that extra step?
In this instance, go ahead. I'll still end up reviewing v4 either way
:)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc.
Virtualization: qemu.org | libguestfs.org
next prev parent reply other threads:[~2026-12-01 17:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 11:13 [PATCH v3 0/2] nbd: Add an unstable query for the client state Guillaume Vincke
2026-11-30 11:13 ` [PATCH v3 1/2] " Guillaume Vincke
2026-12-01 14:59 ` Eric Blake
2026-12-01 17:08 ` guillaume vincke
2026-12-01 17:26 ` Eric Blake
2026-11-30 11:13 ` [PATCH v3 2/2] iotests: Add coverage for x-debug-query-nbd-client QMP command Guillaume Vincke
2026-12-01 15:39 ` Eric Blake
2026-12-01 16:57 ` guillaume vincke
2026-12-01 17:28 ` Eric Blake [this message]
2026-12-01 16:32 ` Eric Blake
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=aw8DYXKyh8WnRgIV@redhat.com \
--to=eblake@redhat.com \
--cc=armbru@redhat.com \
--cc=guillaume.vincke@ovhcloud.com \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=vsementsov@yandex-team.ru \
/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.