[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] In blkif.h, sector unit is not clear



>>> On 09.10.14 at 11:14, <Ian.Campbell@xxxxxxxxxx> wrote:
> CCing Konrad who I think knows about this sort of stuff.
> 
> On Wed, 2014-10-08 at 17:20 +0100, Anthony PERARD wrote:
>> I'm trying to understand the different device properties exposed on
>> xenstore for a block device. And there is one property that is
>> contradictory within blkif.h, "sectors". There are two possible units for
>> it, either "sector-size" or 512-byte. Which one it is?
>> 
>> My guess is that it does not matter too much since "sector-size" is
>> probably always reported as 512.
> 
> I'm not so sure of that once large enterprise arrays or iscsi etc get
> into the picture.

Indeed, yet the header's implication I think is that it's always
512 bytes.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.