All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kevin Wolf <kwolf@redhat.com>
To: Chrysostomos Nanakos <cnanakos@grnet.gr>
Cc: qemu-devel@nongnu.org, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 1/1] block: Support Archipelago as a QEMU block backend
Date: Mon, 2 Jun 2014 17:31:26 +0200	[thread overview]
Message-ID: <20140602153126.GF4045@noname.str.redhat.com> (raw)
In-Reply-To: <538C929B.6000304@grnet.gr>

Am 02.06.2014 um 17:04 hat Chrysostomos Nanakos geschrieben:
> Hi,
> 
> On 06/02/2014 05:30 PM, Eric Blake wrote:
> >On 06/02/2014 08:15 AM, Chrysostomos Nanakos wrote:
> >>VM Image on Archipelago volume is specified like this:
> >>
> >>file=archipelago:<volumename>[/mport=<mapperd_port>[:vport=<vlmcd_port>]]
> >>or
> >I still think that there is no need to burden the code with this
> >shorthand...
> 
> If everyone agrees I can totally remove that part.

I don't think it's a bad idea to provide a shortcut for human users. The
important point is just that internally it's not the main interface, but
mapped to the structured option (which I think your patch achieves now).

> >>file.driver=archipelago,file.volume=<volumename>[,file.mport=<mapperd_port>[,
> >>file.vport=<vlmcd_port>]]
> >...when this version is easier to support.  Older protocols have file=
> >abuse due to back-compat reasons, but new protocols should not start out
> >with baggage.
> >
> >
> >>---
> >>  MAINTAINERS         |    5 +
> >>  block/Makefile.objs |    1 +
> >>  block/archipelago.c | 1174 +++++++++++++++++++++++++++++++++++++++++++++++++++
> >This is a lot to review at once - is there any reasonable way to break
> >it into a series of smaller patches?
> 
> It will be really difficult to break it in smaller patches, and I
> believe it will more difficult for someone to review it.

Not sure how much easier the review would become, but the obvious split
that works almost always is to do a read-only driver in patch 1, and
then add write and create support in patches 2 and 3.

Kevin

  reply	other threads:[~2014-06-02 15:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-02 14:15 [Qemu-devel] [PATCH v2 0/1] Support Archipelago as a QEMU block backend Chrysostomos Nanakos
2014-06-02 14:15 ` [Qemu-devel] [PATCH v2 1/1] block: " Chrysostomos Nanakos
2014-06-02 14:30   ` Eric Blake
2014-06-02 15:04     ` Chrysostomos Nanakos
2014-06-02 15:31       ` Kevin Wolf [this message]
2014-06-02 15:49         ` Chrysostomos Nanakos
2014-06-02 16:02           ` Eric Blake
2014-06-04 11:30         ` Chrysostomos Nanakos
2014-06-02 15:49     ` Markus Armbruster

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=20140602153126.GF4045@noname.str.redhat.com \
    --to=kwolf@redhat.com \
    --cc=cnanakos@grnet.gr \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.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.