]> xenbits.xensource.com Git - people/iwj/xen.git/commitdiff
blkif.h: Document the physical-sector-size extension
authorStefan Bader <stefan.bader@canonical.com>
Fri, 31 May 2013 11:43:30 +0000 (13:43 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 31 May 2013 11:43:30 +0000 (13:43 +0200)
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
xen/include/public/io/blkif.h

index 97b423bce6e4b85178f35e8c09758d73bb64d965..b9b9d98570a0702e04a5d61495e06a4625c77cb8 100644 (file)
  * 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").
  *
  *****************************************************************************
  * 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        */