drbd: Allow to create devices with a minor number > minor_count
authorAndreas Gruenbacher <agruen@linbit.com>
Thu, 14 Jul 2011 14:00:40 +0000 (16:00 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Thu, 8 Nov 2012 15:57:54 +0000 (16:57 +0100)
commitf2257a56eeb4afb3daea894baf93077af0579586
tree4339b818e745700e9bb47344fbb37779e4cf73fb
parent0317d9ecbc9bac43642b4aa70e3e1106f4fd26a1
drbd: Allow to create devices with a minor number > minor_count

The minor_count module/kernel parameter serves to scale the size of drbd's
internal memory pool, but it is no longer a limit for the number of minors or
the minor number.  (Minor numbers can be arbitrarily high within the allowed
limit of 2^20.)

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_nl.c