Re: [patch 1/1] nbd: Don't create all MAX_NBD devices by default all the time

2005-04-15 Thread Lars Marowsky-Bree
On 2005-04-15T00:56:35, Domen Puncer <[EMAIL PROTECTED]> wrote: > This is permissions in sysfs (or 0 if no file is to be created). Duh. Should have caught that. Try this one. Index: linux-2.6.11/drivers/block/nbd.c === --- linux-2.6

Re: [patch 1/1] nbd: Don't create all MAX_NBD devices by default all the time

2005-04-14 Thread Domen Puncer
On 14/04/05 13:23 +0200, Lars Marowsky-Bree wrote: > From: Lars Marowsky-Bree <[EMAIL PROTECTED]> > > This patches adds the "nbds_max" parameter to the nbd kernel module, > which limits the number of nbds allocated. Previously, always all 128 > entries were allocated unconditionally, which used to

[patch 1/1] nbd: Don't create all MAX_NBD devices by default all the time

2005-04-14 Thread Lars Marowsky-Bree
From: Lars Marowsky-Bree <[EMAIL PROTECTED]> This patches adds the "nbds_max" parameter to the nbd kernel module, which limits the number of nbds allocated. Previously, always all 128 entries were allocated unconditionally, which used to waste resources and needlessly flood the hotplug system with