Skip to content

Commit

Permalink
drbd: The minor_count module parameter is only a hint nowadays
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
Philipp Reisner committed Nov 8, 2012
1 parent f132f55 commit b80c043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/drbd_limits.h
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit b80c043

Please sign in to comment.