summaryrefslogtreecommitdiff
path: root/include/linux/drbd_limits.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-07-18 13:09:17 +0400
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 19:58:01 +0400
commitb80c043327ea4faac62a329a1d35f16c47a5128e (patch)
tree85f31a3d84c95f5c04f29d35afea5c39ee2255ec /include/linux/drbd_limits.h
parentf132f554cea3ad1333ff8ea1ac23e1085abd639e (diff)
downloadlinux-b80c043327ea4faac62a329a1d35f16c47a5128e.tar.xz
drbd: The minor_count module parameter is only a hint nowadays
* The max of minor_count is 255 * In drbdadm count the number of minors, instead of finding the highest minor number * No longer us the magic in the init script Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_limits.h')
-rw-r--r--include/linux/drbd_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/drbd_limits.h b/include/linux/drbd_limits.h
index 7d956e91ae7b..6d0a24331ed2 100644
--- a/include/linux/drbd_limits.h
+++ b/include/linux/drbd_limits.h
@@ -16,7 +16,7 @@
#define DEBUG_RANGE_CHECK 0
#define DRBD_MINOR_COUNT_MIN 1
-#define DRBD_MINOR_COUNT_MAX (1U << 20)
+#define DRBD_MINOR_COUNT_MAX 255
#define DRBD_MINOR_COUNT_DEF 32
#define DRBD_MINOR_COUNT_SCALE '1'