From: Lars Marowsky-Bree Date: Sun, 1 May 2005 15:59:07 +0000 (-0700) Subject: [PATCH] nbd: Don't create all MAX_NBD devices by default all the time X-Git-Tag: v2.6.12-rc4~136^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40be0c28b33ff0821594a3fa7126354dfe6eccd1;p=pandora-kernel.git [PATCH] nbd: Don't create all MAX_NBD devices by default all the time 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.) Signed-off-by: Lars Marowsky-Bree Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed