From: "Jan Beulich" Subject: Re: [PATCH] add placeholder for packet extension to block interface Date: Wed, 22 Dec 2010 11:55:14 +0000 Message-ID: <4D11F53202000078000294B7@vpn.id2.novell.com> References: <4D11DCB30200007800029497@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartE1CDB032.0__=" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartE1CDB032.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline >>> On 22.12.10 at 12:19, Keir Fraser wrote: > On 22/12/2010 10:10, "Jan Beulich" wrote: >=20 >> While the corresponding implementation has been in our trees for quite >> a while, it's in a state that doesn't make it suitable for submission, >> and the original author having left the company leaves open to find >> someone to complete this work. Yet to prevent problems with other >> interface extensions we'd like to keep the slot in the number space >> reserved for the purpose it has been serving here. >>=20 >> Signed-off-by: Jan Beulich >>=20 >> --- a/xen/include/public/io/blkif.h >> +++ b/xen/include/public/io/blkif.h >> @@ -76,6 +76,10 @@ >> * "feature-flush-cache" node! >> */ >> #define BLKIF_OP_FLUSH_DISKCACHE 3 >> +/* >> + * Device specific command packet contained within the request >> + */ >> +#define BLKIF_OP_PACKET 4 >=20 > Without more details, perhaps it would be better to call this > BLKIF_OP_RESERVED_1 or BLKIF_OP_RESERVED_NOVELL. It makes it clearer = what is > going on (used internally by Novell for feature not yet submitted = upstream), > and the name can be changed to BLKIF_OP_PACKET if the support ever gets > cleaned up and accepted. How about this one then? While the corresponding implementation has been in our trees for quite a while, it's in a state that doesn't make it suitable for submission, and the original author having left the company leaves open to find someone to complete this work. Yet to prevent problems with other interface extensions we'd like to keep the slot in the number space reserved for the purpose it has been serving here. Signed-off-by: Jan Beulich --- a/xen/include/public/io/blkif.h +++ b/xen/include/public/io/blkif.h @@ -76,6 +76,11 @@ * "feature-flush-cache" node! */ #define BLKIF_OP_FLUSH_DISKCACHE 3 +/* + * Used in SLES sources for device specific command packet + * contained within the request. Reserved for that purpose. + */ +#define BLKIF_OP_RESERVED_1 4 =20 /* * Maximum scatter/gather segments per request. --=__PartE1CDB032.0__= Content-Type: text/plain; name="xen-blkif-op-packet-placeholder.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="xen-blkif-op-packet-placeholder.patch" While the corresponding implementation has been in our trees for quite=0Aa = while, it's in a state that doesn't make it suitable for submission,=0Aand = the original author having left the company leaves open to find=0Asomeone = to complete this work. Yet to prevent problems with other=0Ainterface = extensions we'd like to keep the slot in the number space=0Areserved for = the purpose it has been serving here.=0A=0ASigned-off-by: Jan Beulich = =0A=0A--- a/xen/include/public/io/blkif.h=0A+++ = b/xen/include/public/io/blkif.h=0A@@ -76,6 +76,11 @@=0A * "feature-flush-c= ache" node!=0A */=0A #define BLKIF_OP_FLUSH_DISKCACHE 3=0A+/*=0A+ * = Used in SLES sources for device specific command packet=0A+ * contained = within the request. Reserved for that purpose.=0A+ */=0A+#define BLKIF_OP_R= ESERVED_1 4=0A =0A /*=0A * Maximum scatter/gather segments per = request.=0A --=__PartE1CDB032.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartE1CDB032.0__=--