From: Paolo Bonzini <pbonzini@redhat.com>
To: "Daniel P. Berrange" <berrange@redhat.com>, Fam Zheng <famz@redhat.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v3 2/3] nbd: Split nbd.c
Date: Thu, 14 Jan 2016 21:31:33 +0100 [thread overview]
Message-ID: <569805A5.1080303@redhat.com> (raw)
In-Reply-To: <20160114172610.GE19340@redhat.com>
On 14/01/2016 18:26, Daniel P. Berrange wrote:
> On Thu, Jan 14, 2016 at 04:41:02PM +0800, Fam Zheng wrote:
>> We have NBD server code and client code, all mixed in a file. Now split
>> them into separate files under nbd/, and update MAINTAINERS.
>>
>> filter_nbd for iotest 083 is updated to keep the log filtered out.
>>
>> Signed-off-by: Fam Zheng <famz@redhat.com>
>> ---
>> MAINTAINERS | 5 +-
>> Makefile.objs | 3 +-
>> include/block/nbd-internal.h | 113 +++++++++++
>> nbd/Makefile.objs | 1 +
>> nbd/client.c | 361 ++++++++++++++++++++++++++++++++++
>> nbd/common.c | 64 ++++++
>> nbd.c => nbd/server.c | 451 +------------------------------------------
>> tests/qemu-iotests/083 | 2 +-
>> 8 files changed, 547 insertions(+), 453 deletions(-)
>> create mode 100644 include/block/nbd-internal.h
>> create mode 100644 nbd/Makefile.objs
>> create mode 100644 nbd/client.c
>> create mode 100644 nbd/common.c
>> rename nbd.c => nbd/server.c (68%)
>
> Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
>
> Splitting this up is well overdue. Though this will conflict
> horribly with my TLS series, that's not the end of the world
> if Paolo wishes to merge this quickly.
Your TLS patches are being held mostly by qemu-io/img/nbd QOM command
line support. I suspect that just using "patch -p1" on both
nbd/client.c and nbd/server.c will solve most conflicts correctly.
The only issue I have with Fam's patch is that nbd-internal.h should be
in nbd/ (it's not used outside it), but that's a very minor thing that I
can handle when merging.
Paolo
next prev parent reply other threads:[~2016-01-14 20:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 8:41 [Qemu-devel] [PATCH v3 0/3] nbd: Async built-in server negotiation Fam Zheng
2016-01-14 8:41 ` [Qemu-devel] [PATCH v3 1/3] nbd: Always call "close_fn" in nbd_client_new Fam Zheng
2016-01-14 17:23 ` Daniel P. Berrange
2016-01-14 8:41 ` [Qemu-devel] [PATCH v3 2/3] nbd: Split nbd.c Fam Zheng
2016-01-14 17:26 ` Daniel P. Berrange
2016-01-14 20:31 ` Paolo Bonzini [this message]
2016-01-14 8:41 ` [Qemu-devel] [PATCH v3 3/3] nbd-server: Coroutine based negotiation Fam Zheng
2016-01-14 17:29 ` Daniel P. Berrange
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=569805A5.1080303@redhat.com \
--to=pbonzini@redhat.com \
--cc=berrange@redhat.com \
--cc=famz@redhat.com \
--cc=kwolf@redhat.com \
--cc=qemu-block@nongnu.org \
--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.