]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: make dynamic block minor numbers the default
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:47 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:29 +0000 (03:05 +0900)
commitcc004be0be2a2d116b85b80a0659ce70799ab63d
tree0c5741a3da8c2cedca8922ac45e7a0be72afcbfe
parentb85400e04c3b98186329c88c8f5413a6507920c7
aoe: make dynamic block minor numbers the default

Because udev use is so widespread, making the old static mapping the
default is too conservative, given the severe limitations it places on
usable AoE addresses.  Storage virtualization and larger shelves have made
the old limitations too confining.

These changes make the dynamic block device minor numbers the default,
removing the limitations on usable AoE addresses.

The static arrangement is still available with aoe_dyndevs=0, and the
aoe-stat tool from the userland aoetools package, the user space
counterpart to the aoe driver, recognizes the case where there is a
mismatch between the minor number in sysfs and the minor number in a
special device file.

Signed-off-by: Ed Cashin <ecashin@coraid.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/aoe/aoedev.c