LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Paul Clements <paul.clements@steeleye.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 1/1] NBD: raise max number of nbd devices to 1024
Date: Tue, 29 Jan 2008 16:30:58 -0500	[thread overview]
Message-ID: <479F9B12.8010207@steeleye.com> (raw)

[-- 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__

             reply	other threads:[~2008-01-29 21:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-29 21:30 Paul Clements [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=479F9B12.8010207@steeleye.com \
    --to=paul.clements@steeleye.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: [PATCH 1/1] NBD: raise max number of nbd devices to 1024' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).