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

Re: [Xen-devel] Relationship between request->sector and request->bio->b

To: Zhang Shukun <bitzsk@xxxxxxxxx>
Subject: Re: [Xen-devel] Relationship between request->sector and request->bio->bi_sector?
From: Konrad Rzeszutek <konrad@xxxxxxxxxxxxxxx>
Date: Mon, 8 Jun 2009 10:01:22 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 08 Jun 2009 07:05:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <a160a7d60906052323r1269b415q70673afcafdbbcbf@xxxxxxxxxxxxxx>
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>
References: <a160a7d60906052323r1269b415q70673afcafdbbcbf@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
On Sat, Jun 06, 2009 at 02:23:47PM +0800, Zhang Shukun wrote:
> HI,
> 
> do you know what is the relationship between request->sector and
> request->bio->bi_sector?

I would recommend you read Ch. 14 of the "Understanding the Linux Kernel"
http://www.linux-security.cn/ebooks/ulk3-html/0596005652/understandlk-CHP-14.html

to understand how struct request, and struct bio interact and function.

> 
> Thank you!
> 
> -- 
> Regards,
> Sucan

> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>