Re: [PATCH] nbd driver for 2.5+: fix for 2.5 block layer (improved)

From: viro@parcelfarce.linux.theplanet.co.uk
Date: Sun Jun 22 2003 - 16:44:12 EST


On Sun, Jun 22, 2003 at 01:28:12PM -0600, Lou Langholtz wrote:

> 4. that the allocation of request_queue is dynamic and seperate from
> other allocated objects [Al]

*Ugh*. Not on ->open(), please... _If_ you really want that sort of
on-demand allocation - make it happen via blk_register_region() and
allocate both gendisk and queue at once.

However, I would suggest to make that a separate patch and for now allocate
queues at the same place where you allocate gendisks, without any on-demand
stuff.
-
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/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:39 EST