From: Olaf Hering <olaf@aepfle.de>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
Ian Jackson <ian.jackson@eu.citrix.com>,
Ian Campbell <ian.campbell@citrix.com>,
xen-devel@lists.xen.org
Subject: Re: [PATCH v4] libxl: add option for discard support to xl disk configuration
Date: Mon, 5 May 2014 16:35:07 +0200 [thread overview]
Message-ID: <20140505143507.GA6377@aepfle.de> (raw)
In-Reply-To: <20140505142713.GB3878@phenom.dumpdata.com>
On Mon, May 05, Konrad Rzeszutek Wilk wrote:
> > +++ b/tools/libxl/libxlu_disk_l.l
> > @@ -174,6 +174,10 @@ backendtype=[^,]*,? { STRIP(','); setbackendtype(DPC,FROMEQUALS); }
> > vdev=[^,]*,? { STRIP(','); SAVESTRING("vdev", vdev, FROMEQUALS); }
> > script=[^,]*,? { STRIP(','); SAVESTRING("script", script, FROMEQUALS); }
> > direct-io-safe,? { DPC->disk->direct_io_safe = 1; }
> > +discard=on,? { libxl_defbool_set(&DPC->disk->discard_enable, true); }
> > +discard=1,? { libxl_defbool_set(&DPC->disk->discard_enable, true); }
> > +discard=off,? { libxl_defbool_set(&DPC->disk->discard_enable, false); }
> > +discard=0,? { libxl_defbool_set(&DPC->disk->discard_enable, false); }
>
> I think this automatically generated?
Yes, bison/flex should be rerun after applying this change.
> > + * backend driver should ignore the property if the property is set but
> > + * the backing storage does not support the feature.
> ? I think you want to say: "The backend driver should ignore the propery
> if the backing storage does not expose this functionality."
That would be ok as well, if your version is better english anyway.
Olaf
next prev parent reply other threads:[~2014-05-05 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 14:04 [PATCH v4] libxl: add option for discard support to xl disk configuration Olaf Hering
2014-05-05 14:27 ` Konrad Rzeszutek Wilk
2014-05-05 14:35 ` Olaf Hering [this message]
2014-05-08 11:07 ` Ian Jackson
2014-05-09 12:13 ` Olaf Hering
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=20140505143507.GA6377@aepfle.de \
--to=olaf@aepfle.de \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=konrad.wilk@oracle.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).