[PATCH v4 10/21] pmem: Dynamically allocate partition numbers

2015-05-27 Thread Dan Williams
From: Ross Zwisler Dynamically allocate minor numbers for partitions instead of statically preallocating them. It gives us a simpler minors scheme, and makes it so we get a consistent major when moving past partition 16. Here's what happens with the current code: pmem0 249:00 63.5G

[PATCH v4 10/21] pmem: Dynamically allocate partition numbers

2015-05-27 Thread Dan Williams
From: Ross Zwisler ross.zwis...@linux.intel.com Dynamically allocate minor numbers for partitions instead of statically preallocating them. It gives us a simpler minors scheme, and makes it so we get a consistent major when moving past partition 16. Here's what happens with the current code: