diff options
author | Philipp Reisner <philipp.reisner@linbit.com> | 2011-07-18 05:09:17 -0400 |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2012-11-08 10:58:01 -0500 |
commit | b80c043327ea4faac62a329a1d35f16c47a5128e (patch) | |
tree | 85f31a3d84c95f5c04f29d35afea5c39ee2255ec /include/linux | |
parent | f132f554cea3ad1333ff8ea1ac23e1085abd639e (diff) |
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')
-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 @@ | |||
16 | #define DEBUG_RANGE_CHECK 0 | 16 | #define DEBUG_RANGE_CHECK 0 |
17 | 17 | ||
18 | #define DRBD_MINOR_COUNT_MIN 1 | 18 | #define DRBD_MINOR_COUNT_MIN 1 |
19 | #define DRBD_MINOR_COUNT_MAX (1U << 20) | 19 | #define DRBD_MINOR_COUNT_MAX 255 |
20 | #define DRBD_MINOR_COUNT_DEF 32 | 20 | #define DRBD_MINOR_COUNT_DEF 32 |
21 | #define DRBD_MINOR_COUNT_SCALE '1' | 21 | #define DRBD_MINOR_COUNT_SCALE '1' |
22 | 22 | ||