diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-10-06 07:13:23 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-10-07 19:22:53 +0300 |
commit | 16660eaea0ccc6d0692f173922cd365876eb288e (patch) | |
tree | 9a833933b28c11ee81bc5a7c4c52af59f443c210 /drivers/nvdimm/dimm_devs.c | |
parent | 012207334a26727369b2668716d84e55af1f1d22 (diff) | |
download | linux-16660eaea0ccc6d0692f173922cd365876eb288e.tar.xz |
libnvdimm, namespace: update label implementation for multi-pmem
Instead of assuming that there will only ever be one allocated range at
the start of the region, account for additional namespaces that might
start at an offset from the region base.
After this change pmem namespaces now have a reason to carry an array of
resources similar to blk. Unifying the resource tracking infrastructure
in nd_namespace_common is a future cleanup candidate.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/dimm_devs.c')
0 files changed, 0 insertions, 0 deletions