From: "Jan Beulich" Subject: Re: In blkif.h, sector unit is not clear Date: Fri, 10 Oct 2014 09:13:47 +0100 Message-ID: <5437B15B020000780003D88D@mail.emea.novell.com> References: <20141008162053.GB1742@perard.uk.xensource.com> <1412846057.4463.3.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1412846057.4463.3.camel@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Anthony PERARD , Ian Campbell Cc: Ian Jackson , Xen Devel List-Id: xen-devel@lists.xenproject.org >>> On 09.10.14 at 11:14, 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