commit | 5aff9382ddc8aac6eb0c70ffbb351652d71da69a | [log] [tgz] |
---|---|---|
author | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri May 06 08:45:47 2011 -0400 |
committer | Matthew Wilcox <matthew.r.wilcox@intel.com> | Fri Nov 04 15:53:03 2011 -0400 |
tree | c8fcc4d065e48b55f8f04d0c7eae858fff2fd1a1 | |
parent | fd63e9ceeeae58cfe877c2d49d41c1bf7532303c [diff] |
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: Matthew Wilcox <matthew.r.wilcox@intel.com>