Re: [PATCH] register_blkdev

Andrew Morton
2003-03-08T00:57:39Z

Greg KH <greg@kroah.com> wrote:
>
> On Sat, Mar 08, 2003 at 01:14:23AM +0000, Alan Cox wrote:
> > On Fri, 2003-03-07 at 23:45, Greg KH wrote:
> > > I would too. Andries's patches look like the right thing to do, so far
> > > as I've seen. But there are larger, social issues, that probably need
> > > to be answered first (like convincing Linus and others that this is
> > > really needed).
> > >
> > > > > But if it is, a lot of character drivers need to be audited...
> > > >
> > > > What has to be done there?
> > >
> > > I haven't seen a patch yet, to really know what will be necessary. But
> > > for one, a lot of drivers have static arrays where they just "know" that
> > > there can't be more than 256 minors under their control.
> >
> > So we need a maxminors flag in the register for 2.6 I guess ?
>
> Do you mean to only increase the number of majors, and not minors then?
>

Some time back Linus expressed a preference for a 2^20 major / 2^12 minor split.