All of lore.kernel.org
 help / color / mirror / Atom feed
* blkif sort queue
@ 2004-10-07  6:02 Eric Mowat
  2004-10-10  9:27 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Mowat @ 2004-10-07  6:02 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-10  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-07  6:02 blkif sort queue Eric Mowat
2004-10-10  9:27 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.