Re: [PATCH] register_blkdev

Christoph Hellwig
2003-03-07T23:44:28Z

On Fri, Mar 07, 2003 at 03:46:24PM -0800, Andrew Morton wrote:
> Christoph, it would help this discussion very much if you could tell everyone
> how we should set about solving the many-disks problem. In detail.

Just use blk_register_region() to claim the region you want, you
don't have to care for any major/minor binary. There is not much of
the dev_t space used for block devices at all so there's no problem.

Actually coordinating those allocations with LANANA might help to not
step other people on their feet, but your return value will tell that
anyway.