diff options
author | Lars Marowsky-Bree <lmb@suse.de> | 2005-05-01 08:59:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 08:59:07 -0700 |
commit | 40be0c28b33ff0821594a3fa7126354dfe6eccd1 (patch) | |
tree | a62e93e866a2c7fdbe732adb634a6bba294beded /drivers/sh | |
parent | 4750e2c0c59e0c84c6c036b3d96ebd88365ae7ee (diff) |
[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 <lmb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/sh')
0 files changed, 0 insertions, 0 deletions