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

[Xen-devel] How to get all the sectors of a file in domU?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Zhang Shukun <bitzsk@xxxxxxxxx>
  • Date: Wed, 3 Jun 2009 10:08:36 +0800
  • Delivery-date: Tue, 02 Jun 2009 19:09:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=m6o06LzAyBSnokvjiDCcz468KZTaM4MPZvMfTfrVZ/BigEpr4V29QOtRPmSCVFnm/J kzbAPBulSIN0PNdk1E/4o6geV9sN/sOphVp1/bl10cZd0HhjhlfqahYkRRSNnI/zuIs0 8q06MCv+ndWgy4arWgyOS26rnBAKNLaVNgh5E=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hi, all

when domU read a file , it will put request into request queue, and the request contain all the sectors number need to read. use    req->bio->bi_sector    can get the first sector.

but how to get all the sectors of the file?
--
Best regards,
张树坤
北京理工大学,计算机科学技术学院
Sucan
Computer Department,Beijing Institute of Technology,China
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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