Skip to content
Commit 3934d841 authored by Dan Williams's avatar Dan Williams
Browse files

libnvdimm, label: update 'nlabel' and 'position' handling for local namespaces



The v1.2 namespace label specification requires 'nlabel' and 'position'
to be valid for the first ("lowest dpa") label in the set. It also
requires all non-first labels to set those fields to 0xff.

Linux does not much care if these values are correct, because we can
just trust the count of labels with the matching uuid like the v1.1
case. However, we set them correctly in case other environments care.

Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 8f2bc243
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment