WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How to get all the sectors of a file in domU?
From: Zhang Shukun <bitzsk@xxxxxxxxx>
Date: Wed, 3 Jun 2009 10:08:36 +0800
Delivery-date: Tue, 02 Jun 2009 19:09:28 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=e56uJTBzTjKDdzXHZ6aQFvp3J0PTY/mlJDyBYYAg9/Y=; b=ZbgU5CtGayvitR/2WzTW6JfT40EZa25JwvFC5Qa/r0tf/0tZRsnu5aaPGN9gdYcTt9 ij4x6aJ2Q+Z7MgM1s0nQKoUzQTrmC3m7rnrJUt8gslTAfFTlzd51XIycYxQLf8ZRbX0S ux2Rp320w3nWy4ogVtqhKOhtYTh+Q/1R+sPJk=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] How to get all the sectors of a file in domU?, Zhang Shukun <=