lkml.org 
[lkml]   [1999]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: disk head scheduling


On Tue, 23 Mar 1999, Rogier Wolff wrote:
> >
> > This is what we do for block sizes, and it's a complete horror to maintain
> > and debug. Even worse: it forces us to have 8-bit minor and major numbers
> > forever.
>
> Nah! It is the device drivers responsibility to allocate enough
> space. So if a new SCSI disk driver notices 20 disks, and therefore
> wants 320 minors, it should allocate the array to be 320 entries.

Umm..

What if we have sparse minor numbers?

Trust me, it's horrible.

We want to have something along the lines of a "device descriptor block"
internally, which has all the interesting information.

Linus


-
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.591 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site