linux/drivers/nvdimm
Dan Williams 1b40e09a12 libnvdimm: blk labels and namespace instantiation
A blk label set describes a namespace comprised of one or more
discontiguous dpa ranges on a single dimm.  They may alias with one or
more pmem interleave sets that include the given dimm.

This is the runtime/volatile configuration infrastructure for sysfs
manipulation of 'alt_name', 'uuid', 'size', and 'sector_size'.  A later
patch will make these settings persistent by writing back the label(s).

Unlike pmem namespaces, multiple blk namespaces can be created per
region.  Once a blk namespace has been created a new seed device
(unconfigured child of a parent blk region) is instantiated.  As long as
a region has 'available_size' != 0 new child namespaces may be created.

Cc: Greg KH <gregkh@linuxfoundation.org>
Cc: Neil Brown <neilb@suse.de>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2015-06-24 21:24:10 -04:00
..
bus.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
core.c libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
dimm_devs.c libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
dimm.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
Kconfig libnvdimm, pmem: move pmem to drivers/nvdimm/ 2015-06-24 21:24:10 -04:00
label.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
label.h libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
Makefile libnvdimm: namespace indices: read and validate 2015-06-24 21:24:10 -04:00
namespace_devs.c libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
nd-core.h libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
nd.h libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
pmem.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00
region_devs.c libnvdimm: blk labels and namespace instantiation 2015-06-24 21:24:10 -04:00
region.c libnvdimm: pmem label sets and namespace instantiation. 2015-06-24 21:24:10 -04:00