LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 1/1] NBD: raise max number of nbd devices to 1024
@ 2008-01-29 21:30 Paul Clements
  2008-01-29 21:54 ` Andrew Morton
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Clements @ 2008-01-29 21:30 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 53 bytes --]

The limit was 128. This changes it to 1024.

--
Paul

[-- Attachment #2: nbd_max_nbd_1024.diff --]
[-- Type: text/x-patch, Size: 380 bytes --]


Signed-Off-By: Paul Clements <paul.clements@steeleye.com>

--- ./include/linux/nbd.h.TIMEOUT	2007-08-22 13:18:12.000000000 -0400
+++ ./include/linux/nbd.h	2008-01-29 14:35:17.000000000 -0500
@@ -35,7 +35,7 @@ enum {
 };
 
 #define nbd_cmd(req) ((req)->cmd[0])
-#define MAX_NBD 128
+#define MAX_NBD 1024
 
 /* userspace doesn't need the nbd_device structure */
 #ifdef __KERNEL__

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-30 13:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-29 21:30 [PATCH 1/1] NBD: raise max number of nbd devices to 1024 Paul Clements
2008-01-29 21:54 ` Andrew Morton
2008-01-30  2:04   ` Paul Clements
2008-01-30  2:08     ` Andrew Morton
2008-01-30 13:14       ` Paul Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).