Skip to content
Commit 5aff9382 authored by Matthew Wilcox's avatar Matthew Wilcox
Browse files

NVMe: Use an IDA to allocate minor numbers



The current approach of using the namespace ID as the minor number
doesn't work when there are multiple adapters in the machine.  Rather
than statically partitioning the number of namespaces between adapters,
dynamically allocate minor numbers to namespaces as they are detected.

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
parent fd63e9ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment