Re: [PATCH] register_blkdev

Christoph Hellwig (hch@infradead.org)
Fri, 7 Mar 2003 23:54:54 +0000


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/