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] Re: questions about the block backend/frontend driver

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: questions about the block backend/frontend driver
From: "Yuming fang" <fangyuming.leo@xxxxxxxxx>
Date: Tue, 9 Sep 2008 20:43:07 +0800
Delivery-date: Tue, 09 Sep 2008 05:43:31 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=phUzvd4wBWrSHl6ThExx4F5iL93hJ4fjn3sfyVUPaBQ=; b=gD/YDq6b4HSH+W3NY95S6GyQi5NpTvtDIH+LCeSlK6eZwGYGMG7+YtLaZinJfOiOwV bzbO++W4vxTyZiEJo/4cfhZgWAVoUi6OT/FU8zG+72C/MugEvFpTZ1BZ5wKxkW0B+2cA I3ZImwYykFVkGRr1pxLte8o6JebaCrsU/exW0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=te56sawozirZTwX+C9PYJUngEuQD1kfLkjW14BgOdePHnyTJ0Oyr+mXrFu78IuiOCN mLtzyVDO1+J819HzMJIpXjWjRKA9T0HFgPHa6huOMGY7aazq5mDUER0jXg8oB2y062X4 xifP5Md8lW9C3I8APPcBUiXca0ttnwaBeXi3E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <411dc87e0809080005m1aa6d9c0pffa94be36277bf70@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: <411dc87e0809080005m1aa6d9c0pffa94be36277bf70@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
 
Nobody answer these questions? I want to know if I could implement the I/O disk scheduling in Xen and then I could not modify the corresponding code(I/O Scheduling algorithms) of Linux Kernel?
 
Yuming

2008/9/8 Yuming fang <fangyuming.leo@xxxxxxxxx>
Hi, Everyone,
 
I am trying to understand the code of the block backend/frontend driver. I konw the blkback and blkfront communicate with each other through event channel and buffer ring. But there are some questions I could not understand.
 
1. When dom0 receive one disk request from domU1 and another disk request from domU2 simultaneously, how these two disk requests are pushed into Linux Kernel I/O Scheduler? How the Xen sort them before pushing them into the Linux Kernel I/O Scheduler?
 
2. Is there a disk request queue in the Xen to hold these disk requests, so that the Xen could only push the disk requests in the queue into the linux kernel I/O Scheduler?
 
I would appreciate it very much if anyone could give me some help.
 
Yuming
 

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