Messages in this thread | | | Date | Fri, 15 Apr 2005 00:56:35 +0200 | From | Domen Puncer <> | Subject | Re: [patch 1/1] nbd: Don't create all MAX_NBD devices by default all the time |
| |
On 14/04/05 13:23 +0200, Lars Marowsky-Bree wrote: > From: Lars Marowsky-Bree <lmb@suse.de> > > 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 events. (Defaults to 16 > now.) > ... > > +module_param(nbds_max, int, 16);
This is permissions in sysfs (or 0 if no file is to be created).
> +MODULE_PARM_DESC(nbds_max, "How many network block devices to initialize."); > #ifndef NDEBUG > module_param(debugflags, int, 0644); > MODULE_PARM_DESC(debugflags, "flags for controlling debug output"); - 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/
| |