linux-kernel-test/drivers/nvdimm
Dan Williams f524bf271a libnvdimm: write pmem label set
After 'uuid', 'size', and optionally 'alt_name' have been set to valid
values the labels on the dimms can be updated.

Write procedure is:
1/ Allocate and write new labels in the "next" index
2/ Free the old labels in the working copy
3/ Write the bitmap and the label space on the dimm
4/ Write the index to make the update valid

Label ranges directly mirror the dpa resource values for the given
label_id of the namespace.

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: write pmem label set 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: write pmem label set 2015-06-24 21:24:10 -04:00
label.h libnvdimm: write pmem label set 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: write pmem label set 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: write pmem label set 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