[3497] in linux-scsi channel archive
Re: Devices limit problem
daemon@ATHENA.MIT.EDU (Jakub Jelinek)
Mon Mar 9 03:20:56 1998
From: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
To: eric@andante.jic.com (Eric Youngdale)
Date: Mon, 9 Mar 1998 09:20:33 +0100 (MET)
Cc: jj@sunsite.ms.mff.cuni.cz, herve@doremilabs.com,
linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.980308234453.22240O-100000@andante.jic.com> from "Eric Youngdale" at Mar 8, 98 11:47:04 pm
> > It is a hack, as e.g. if you have two or more SSA arrays, you can have many
> > more disks. The real solution is to convert to pointer kdev_t, and get rid
> > of all static arrays in block device subsystem. Then you'll be able to get
> > rid of these constants easily...
>
> That part is a real pain in the neck as it turns out. Most of
> the gendisk layer needs to be redone/rethought, as there are lots of
> arrays that are sized at boot time. I redesign of some of the data
> structures would be required before you could really get this working
> properly.
>
> It isn't clear that with devfs that sparse minors would still be
> required or not, but sparse minors would complicate the situation
> significantly.
Yes, it will be difficult and a lot of work. But without something like
that, we won't get rid of hardcoded maximum minors and won't be able to use
sparse minors. I think all stuff like read-ahead, blocksize, ... should go
into some block_kdev_t structure which will kdev_t point to.
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
Ultralinux - first 64bit OS to take full power of the UltraSparc
Linux version 2.1.89 on a sparc64 machine (498.80 BogoMips).
___________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu