Messages in this thread | | | Date | Mon, 22 Mar 1999 23:54:59 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: 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/
| |