aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Bader <stefan.bader@canonical.com>2013-05-31 13:43:30 +0200
committerJan Beulich <jbeulich@suse.com>2013-05-31 13:43:30 +0200
commita67e2dac9f8339681b30b0f89274a64e691ea139 (patch)
tree6b5345e54eea35d0f71af3b4a6e874c731afa3ef
parent75a92f551ade530ebab73a0c3d4934dfb28149b5 (diff)
downloadxen-a67e2dac9f8339681b30b0f89274a64e691ea139.tar.gz
xen-a67e2dac9f8339681b30b0f89274a64e691ea139.tar.bz2
xen-a67e2dac9f8339681b30b0f89274a64e691ea139.zip
blkif.h: Document the physical-sector-size extension
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
-rw-r--r--xen/include/public/io/blkif.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/xen/include/public/io/blkif.h b/xen/include/public/io/blkif.h
index 97b423bce6..b9b9d98570 100644
--- a/xen/include/public/io/blkif.h
+++ b/xen/include/public/io/blkif.h
@@ -208,12 +208,17 @@
* sector-size
* Values: <uint32_t>
*
- * The native sector size, in bytes, of the backend device.
+ * The logical sector size, in bytes, of the backend device.
+ *
+ * physical-sector-size
+ * Values: <uint32_t>
+ *
+ * The physical sector size, in bytes, of the backend device.
*
* sectors
* Values: <uint64_t>
*
- * The size of the backend device, expressed in units of its native
+ * The size of the backend device, expressed in units of its logical
* 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 units.
* 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 backend
- * xenbus info. Also the xenbus "sectors" node is expressed in 512-byte units.
+ * physical disk, which is reported in the "physical-sector-size" node in
+ * 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 */