[3490] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Devices limit problem

daemon@ATHENA.MIT.EDU (Richard Gooch)
Mon Mar 9 00:06:05 1998

Date: 	Mon, 9 Mar 1998 16:02:28 +1100
From: Richard Gooch <rgooch@atnf.CSIRO.AU>
To: Eric Youngdale <eric@andante.jic.com>
Cc: Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>,
        Herve MORILLON <herve@doremilabs.com>, linux-scsi@vger.rutgers.edu
In-Reply-To: <Pine.LNX.3.95.980308234453.22240O-100000@andante.jic.com>

Eric Youngdale writes:
> 
> On Sun, 8 Mar 1998, Jakub Jelinek wrote:
[...]
> > 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.

Devfs doesn't care about major and minor numbers. So it's up to you
how you allocate your major/minor numbers. Better not to allocate
any.

				Regards,

					Richard....

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post