summaryrefslogtreecommitdiffstats
path: root/lib/sort.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-05-30 18:36:02 +0200
committerDan Williams <dan.j.williams@intel.com>2015-06-25 03:24:10 +0200
commitf524bf271a5cf12a44253194abcf8b6688ff5b9d (patch)
treee477ae652183e73a6a3c6fc592046e255d2bfd15 /lib/sort.c
parentlibnvdimm: blk labels and namespace instantiation (diff)
downloadlinux-f524bf271a5cf12a44253194abcf8b6688ff5b9d.tar.xz
linux-f524bf271a5cf12a44253194abcf8b6688ff5b9d.zip
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>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions