aoe: retain static block device numbers for backwards compatibility
authorEd Cashin <ecashin@coraid.com>
Fri, 5 Oct 2012 00:16:42 +0000 (17:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:29 +0000 (03:05 +0900)
commit4bcce1a355c8248fb5661cb78bb14b9e19475cd4
tree6a6db4ec3f569bdbbf925d9419d7f89ce7cace34
parent0c966214589b9767fd8771b71328f83bac58cb25
aoe: retain static block device numbers for backwards compatibility

The old mapping between AoE target shelf and slot addresses and the block
device minor number is retained as a backwards-compatible feature, with a
new "aoe_dyndevs" module parameter available for enabling dynamic block
device minor numbers.

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