From: Juan Quintela <quintela@redhat.com>
To: "Daniel P. Berrangé" <berrange@redhat.com>
Cc: "Fam Zheng" <fam@euphon.net>, "Kevin Wolf" <kwolf@redhat.com>,
"Michael Roth" <mdroth@linux.vnet.ibm.com>,
qemu-block@nongnu.org, qemu-devel@nongnu.org,
"Max Reitz" <mreitz@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Stefan Berger" <stefanb@linux.ibm.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/5] socket: Add backlog parameter to socket_listen
Date: Tue, 20 Aug 2019 11:14:50 +0200 [thread overview]
Message-ID: <877e782o6t.fsf@trasno.org> (raw)
In-Reply-To: <20190820083904.GA23352@redhat.com> ("Daniel P. Berrangé"'s message of "Tue, 20 Aug 2019 09:39:04 +0100")
Daniel P. Berrangé <berrange@redhat.com> wrote:
> On Tue, Aug 20, 2019 at 10:24:55AM +0200, Juan Quintela wrote:
>> Current parameter was always one. We continue with that value for now
>> in all callers.
>>
>> Signed-off-by: Juan Quintela <quintela@redhat.com>
>> @@ -309,7 +311,8 @@ static int inet_listen_saddr(InetSocketAddress *saddr,
>> goto listen_failed;
>> }
>> } else {
>> - if (!listen(slisten, 1)) {
>> + trace_inet_listen_saddr(num);
>
> It is a bit odd to only have the trace event for inet sockets. I'd
> prefer it in the caller for all sockets, with just "socket_listen"
> name.
Ok. will change.
This is the one that I needed, I just changed an error_report() to a
trace O:-)
next prev parent reply other threads:[~2019-08-20 9:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-20 8:24 [Qemu-devel] [PATCH v2 0/5] Fix multifd with big number of channels Juan Quintela
2019-08-20 8:24 ` [Qemu-devel] [PATCH v2 1/5] socket: Add backlog parameter to socket_listen Juan Quintela
2019-08-20 8:39 ` Daniel P. Berrangé
2019-08-20 9:14 ` Juan Quintela [this message]
2019-08-20 8:24 ` [Qemu-devel] [PATCH v2 2/5] socket: Add num connections to qio_channel_socket_sync() Juan Quintela
2019-08-20 8:40 ` Daniel P. Berrangé
2019-08-20 8:24 ` [Qemu-devel] [PATCH v2 3/5] socket: Add num connections to qio_channel_socket_async() Juan Quintela
2019-08-20 8:40 ` Daniel P. Berrangé
2019-08-20 8:24 ` [Qemu-devel] [PATCH v2 4/5] socket: Add num connections to qio_net_listener_open_sync() Juan Quintela
2019-08-20 8:41 ` Daniel P. Berrangé
2019-08-20 8:24 ` [Qemu-devel] [PATCH v2 5/5] multifd: Use number of channels as listen backlog Juan Quintela
2019-08-20 8:41 ` Daniel P. Berrangé
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=877e782o6t.fsf@trasno.org \
--to=quintela@redhat.com \
--cc=berrange@redhat.com \
--cc=dgilbert@redhat.com \
--cc=fam@euphon.net \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=mdroth@linux.vnet.ibm.com \
--cc=mreitz@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanb@linux.ibm.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 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.