diff options
author | Dan Williams <[email protected]> | 2015-05-30 12:36:02 -0400 |
---|---|---|
committer | Dan Williams <[email protected]> | 2015-06-24 21:24:10 -0400 |
commit | f524bf271a5cf12a44253194abcf8b6688ff5b9d (patch) | |
tree | e477ae652183e73a6a3c6fc592046e255d2bfd15 /tools/perf/util/trace-event-scripting.c | |
parent | 1b40e09a1232de537b193fa1b6b3ef16d3a1e397 (diff) |
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 <[email protected]>
Cc: Neil Brown <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions