From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Bader Subject: Re: [PATCH v3] xen-blk(front|back): Handle large physical sector disks Date: Wed, 22 May 2013 15:15:14 +0200 Message-ID: <519CC4E2.90901@canonical.com> References: <5191272A.7070703@canonical.com> <5193A38B.4080508@canonical.com> <519CB072.9020508@canonical.com> <519CD44F02000078000D81B8@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3067035122081203149==" Return-path: In-Reply-To: <519CD44F02000078000D81B8@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel , Konrad Rzeszutek Wilk , roger.pau@citrix.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============3067035122081203149== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig8A0233BE00D3E31AF12C57D5" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A0233BE00D3E31AF12C57D5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22.05.2013 14:21, Jan Beulich wrote: >=20 > The only thing I haven't seen so far is a patch to the master > copy of blkif.h to document the new xenstore node. >=20 Ok, maybe something like this. What I realize is that I deliberately used= unsigned int as this is defined as 32bit on x86. But maybe it should be c= hanged to uint32_t? -Stefan =46rom 8d1023ce11b9067346e9794d95b2876d98484f43 Mon Sep 17 00:00:00 2001 From: Stefan Bader Date: Wed, 22 May 2013 15:11:18 +0200 Subject: [PATCH] blkif.h: Document the physical-sector-size extension Signed-off-by: Stefan Bader --- xen/include/public/io/blkif.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.= h index 97b423b..f7c3366 100644 --- a/xen/include/public/io/blkif.h +++ b/xen/include/public/io/blkif.h @@ -208,12 +208,17 @@ * sector-size * Values: * - * The native sector size, in bytes, of the backend device. + * The logical sector size, in bytes, of the backend device. + * + * physical-sector-size + * Values: + * + * The physical sector size, in bytes, of the backend device. * * sectors * Values: * - * The size of the backend device, expressed in units of its native= + * The size of the backend device, expressed in units of its logica= l * sector size ("sector-size"). * ***********************************************************************= ****** @@ -473,8 +478,9 @@ * NB. first_sect and last_sect in blkif_request_segment, as well as * sector_number in blkif_request, are always expressed in 512-byte unit= s. * However they must be properly aligned to the real sector size of the - * physical disk, which is reported in the "sector-size" node in the bac= kend - * xenbus info. Also the xenbus "sectors" node is expressed in 512-byte = units. + * physical disk, which is reported in the "physical-sector-size" node i= n + * the backend xenbus info. Also the xenbus "sectors" node is expressed = in + * 512-byte units. */ struct blkif_request_segment { grant_ref_t gref; /* reference to I/O buffer frame */ --=20 1.7.9.5 --------------enig8A0233BE00D3E31AF12C57D5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQIcBAEBCgAGBQJRnMTiAAoJEOhnXe7L7s6jO9MQALPLz4xlbW1NATIQcGl8jJod w+/tza3cCcHBAbLjOXqQAqQzZM4rRyXllKsXPqiTveLle9+fmR6WKnKz7LDshVDM FbFh2UacWguA5JTJF/8q6PvxgQMpA/sIVox1hUjB8+PRjAVRQIY0dcCr5vLRJ28Y efKZD6N1eC+oalhZcvx8hM3e15tBHshQU/OfMSJqyRuu0gc6n5cTbjNY7QLPONK0 iE1HBBA98sblZNPSfSSN0kRRAGA88+liniopV6L+/bLcHG/qfaqhPdFqPkhy7WUa GF4ZAhDr0qFwAxaUWxP06K+LYmkGx/SCXtRo3BvC/ngUC+cdN2iTdvU23EMKamrt L0CZ14KiMTKRFd0mIq+tfUCtzGK4KATdZGkHFx0OSvfkMP2LA/l3XkZHuwNodKy8 +wmo45qsHqJVfroImVVTpdiDy3BN+avpG+QYEavp1sBEGQMzJGIfyE8oVzv0NqX2 zgzqSBMnSKeq8zYDOWDyBBiPe1rzMKj5isQIJqxaghcDo/JCJThqps2X3j9kjUhZ oD3Ax33WHIs6ZsHYxMS/OH44fiiT5KKJRuug8H2+DOHf7cRjUjlt2aaNAPkFVpTt 1Y3EFN9ooBUGa24y59MCmpSyVDPF4058WqKtTzCsFy+knBgr82zDlSH9Foc3ZVXW vWk2hyRh2bI56mpsaahM =kShi -----END PGP SIGNATURE----- --------------enig8A0233BE00D3E31AF12C57D5-- --===============3067035122081203149== 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.xen.org http://lists.xen.org/xen-devel --===============3067035122081203149==--