From: Zhang Shukun Subject: How to get all the sectors of a file in domU? Date: Wed, 3 Jun 2009 10:08:36 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1475816868==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --===============1475816868== Content-Type: multipart/alternative; boundary=0016363b9222562f36046b68245f --0016363b9222562f36046b68245f Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable 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? --=20 Best regards, =D5=C5=CA=F7=C0=A4 =B1=B1=BE=A9=C0=ED=B9=A4=B4=F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6=D1=A7=BC= =BC=CA=F5=D1=A7=D4=BA Sucan Computer Department,Beijing Institute of Technology,China --0016363b9222562f36046b68245f Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable hi, all

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

but how to get all the sectors of the file?
--
Best regards,
=D5=C5=CA=F7=C0=A4
=B1=B1=BE=A9=C0=ED=B9=A4=B4= =F3=D1=A7=A3=AC=BC=C6=CB=E3=BB=FA=BF=C6=D1=A7=BC=BC=CA=F5=D1=A7=D4=BA
Su= can
Computer Department,Beijing Institute of Technology,China
--0016363b9222562f36046b68245f-- --===============1475816868== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1475816868==--