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] blkif sort queue

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] blkif sort queue
From: Eric Mowat <Eric.Mowat@xxxxxxxxxx>
Date: Wed, 06 Oct 2004 23:02:06 -0700
Delivery-date: Sun, 10 Oct 2004 09:35:49 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.2) Gecko/20040803
Hi, I'm one of the engineers working on the FreeBSD port and while upgrading to TOT, I noticed that there appears to only be 1 sort queue for all guest domain devices (xlbd_blk_queue). All disks end up pointing at this request queue. The strategy call (do_blkif_request) uses this global queue and attempts to dequeue using elevator sort. Does any kind of sort make sense given that multiple devices feed this queue?

I ask because some of the new recovery code attempts to call kick_pending_request_queues() in blkif_connect(). In my FreeBSD version prior to this I was using per disk sort queues, which was fine since I would only try to kick the i/o on interrupt completion. In this newer context it seems like having only 1 queue avoids the need to keep a table of per-disk sort queues.
Thanks for any help.

   Eric


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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