diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-07-18 11:09:17 +0200 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 16:58:01 +0100 |
commit | b80c043327ea4faac62a329a1d35f16c47a5128e (patch) | |
tree | 85f31a3d84c95f5c04f29d35afea5c39ee2255ec /include/linux/drbd_limits.h | |
parent | f132f554cea3ad1333ff8ea1ac23e1085abd639e (diff) | |
download | blackbird-op-linux-b80c043327ea4faac62a329a1d35f16c47a5128e.tar.gz blackbird-op-linux-b80c043327ea4faac62a329a1d35f16c47a5128e.zip |
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.h | 2 |
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' |