kernel_optimize_test/drivers/nvdimm
Dan Williams 0ba1c63489 libnvdimm: write blk label set
After 'uuid', 'size', 'sector_size', and optionally 'alt_name' have been
set to valid values the labels on the dimm can be updated.  The
difference with the pmem case is that blk namespaces are limited to one
dimm and can cover discontiguous ranges in dpa space.

Also, after allocating label slots, it is useful for userspace to know
how many slots are left.  Export this information in sysfs.

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