lkml.org 
[lkml]   [1999]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: disk head scheduling
On Thu, Mar 18, 1999 at 08:38:21PM +0100, Rik van Riel wrote:
> On Thu, 18 Mar 1999, Arvind Sankar wrote:
>
> > Another point is that IN_ORDER seems to be called only for two requests
> > on the same device, so no idea why it compares the device numbers.
>
> It compares device numbers because of partitions on
> one drive. It would be extremely bad for performance
> when Linux would be hopping from partition to partition
> without the aid of the elevator algorithm...

ah. Sorry. didn't look closely enough and thought there was one queue for
every rq_dev, since the call was
get_queue(req->rq_dev)

This means I need to fix my code, which btw has starvation problems... :(

-- arvind

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.116 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site