From: Kamala Narasimhan <kamala.narasimhan@gmail.com>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: "Kamala Narasimhan (3P)" <kamala.narasimhan@citrix.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Jackson <Ian.Jackson@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH] xl: Special case tap/aio for disk validation
Date: Fri, 28 Jan 2011 09:43:19 -0500 [thread overview]
Message-ID: <4D42D607.3070305@gmail.com> (raw)
In-Reply-To: <1296209178.14780.6993.camel@zakaz.uk.xensource.com>
> Several elements of the 'format:path,vdev:type,attrib' string are
> optional. Can we delineate those in some non-confusing way? Often man
> pages and the like use [], which would end up as (I think):
> [format:]path,vdev[:type],attrib
>
Believe it or not I tried that! It ended up looking very confusing which is why
I switched to explicit verbal description of whether or not a particular
attribute is mandatory.
> I don't know if that meets the non-confusing criterion though. I didn't
> initially notice the "Mandatory" tag (see comments on line-wrapping
> below). The thing the tag doesn't cover is how the punctuation binds to
> the mandatory vs. optional elements. Perhaps insert
> The "format:" and ":type" elements are optional
> alongside the comment about not all attributes being required?
>
Sure, if that helps.
> IanJ wrote a existing spec for vdev at one point. I thought it had been
> committed somewhere but I can't see it. I think the most recent version
> was
> http://lists.xensource.com/archives/html/xen-devel/2010-09/msg01329.html
> but perhaps IanJ can confirm. We should incorporate it, either by
> reference or as a separate chapter in the same document or something
> similar.
>
Sure.
> The discussion of which backend corresponds to each option is useful
> from an implementation detail point of view but I'm not sure it is
> necessary as part of the documentation of the configuration syntax. It's
> liable get out of date IMHO. Perhaps those bits would be better as a
> comment alongside the implementation?
>
I do agree this is an information a pure end user won't care about. The
question then gets to who is the target audience for this document. If it is
mostly developers, it might help for them to have this information.
> It's not clear where the deprecated block-dev-type and access-type
> attributes are acceptable. I think we can just say that multiple
> deprecated attributes are accepted before the first valid "format" type
> is discovered, with the last one taking precedence, or something along
> those lines.
>
Sure.
> Lastly, I think the doc should be line-wrapped to 80 columns, otherwise
> the autowrapping of the table like elements ends up quite hard to
> follow. e.g. it currently comes out looking like:
>
> Description: Specifies the format of image file.
> Supported values: raw, qcow, qcow2, vhd
> Deprecated values: None
> Mandatory: No. When not specified raw format is
> assumed. For a physical block device the format must be raw and
> need not be explicitly specified. For an image file the format
> could be one of the supported values and when not specified
> assumed to be raw.
> Backend used: For qcow/qcow2 qemu backend is u[...]
>
> should be (subject to my guessing where 80 columns actually is in this
> case):
>
> Description: Specifies the format of image file.
> Supported values: raw, qcow, qcow2, vhd
> Deprecated values: None
> Mandatory: No. When not specified raw format is assumed. For a physical block device the format
> must be raw and need not be explicitly specified. For an image file the format could
> be one of the supported values and when not specified assumed to be raw.
> Backend used: For qcow/qcow2 qemu backend is u[...]
> [...] etc
>
Yep, I will do that and send out a revised version.
Kamala
next prev parent reply other threads:[~2011-01-28 14:43 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-26 19:46 [PATCH] xl: Special case tap/aio for disk validation Kamala Narasimhan
2011-01-27 15:17 ` Stefano Stabellini
2011-01-27 15:22 ` Ian Jackson
2011-01-27 15:35 ` Ian Campbell
2011-01-27 16:23 ` Ian Jackson
2011-01-27 17:46 ` Kamala Narasimhan
2011-01-27 17:59 ` Stefano Stabellini
2011-01-27 20:14 ` Kamala Narasimhan
2011-01-28 9:27 ` Ian Campbell
2011-01-28 12:51 ` Stefano Stabellini
2011-01-27 17:53 ` Ian Campbell
2011-01-27 17:43 ` Kamala Narasimhan
2011-01-27 16:08 ` Philipp Hahn
2011-01-27 17:31 ` Kamala Narasimhan
2011-01-27 17:54 ` Stefano Stabellini
2011-01-27 18:35 ` Ian Jackson
2011-01-27 18:46 ` Ian Campbell
2011-01-27 18:46 ` Stefano Stabellini
2011-01-28 1:56 ` Kamala Narasimhan
2011-01-28 10:06 ` Ian Campbell
2011-01-28 10:25 ` Ian Campbell
2011-01-28 12:02 ` Ian Jackson
2011-01-28 13:19 ` Stefano Stabellini
2011-01-28 13:21 ` Ian Campbell
2011-01-28 13:28 ` Stefano Stabellini
2011-01-28 13:29 ` Ian Campbell
2011-01-28 15:11 ` Kamala Narasimhan
2011-01-28 14:43 ` Kamala Narasimhan [this message]
2011-01-28 17:22 ` Kamala Narasimhan
2011-01-28 19:10 ` Kamala Narasimhan
2011-01-31 17:28 ` Stefano Stabellini
2011-01-28 13:11 ` Stefano Stabellini
2011-01-28 17:55 ` Ian Jackson
2011-01-27 22:15 ` Kamala Narasimhan
2011-01-28 12:57 ` xl: drdb support Stefano Stabellini
2011-01-28 16:48 ` Shriram Rajagopalan
2011-01-28 17:58 ` Ian Jackson
2011-01-28 18:03 ` Stefano Stabellini
2011-01-28 18:06 ` Ian Jackson
2011-01-28 18:12 ` Stefano Stabellini
2011-01-28 18:16 ` Ian Jackson
2011-01-28 21:41 ` James Harper
2011-01-29 1:12 ` James Harper
2011-01-29 12:53 ` RE: drdb support / xend locking for live migration Pasi Kärkkäinen
2011-01-28 16:03 ` [PATCH] xl: Special case tap/aio for disk validation Jim Fehlig
2011-01-28 16:30 ` Stefano Stabellini
2011-01-28 16:52 ` Jim Fehlig
2011-01-28 17:51 ` Stefano Stabellini
2011-01-28 17:53 ` Ian Jackson
2011-01-27 22:31 ` M A Young
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=4D42D607.3070305@gmail.com \
--to=kamala.narasimhan@gmail.com \
--cc=Ian.Campbell@citrix.com \
--cc=Ian.Jackson@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=kamala.narasimhan@citrix.com \
--cc=xen-devel@lists.xensource.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.