]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
libnvdimm, label: switch to using v1.2 labels by default
authorDan Williams <dan.j.williams@intel.com>
Wed, 7 Jun 2017 17:19:46 +0000 (10:19 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 15 Jun 2017 21:31:41 +0000 (14:31 -0700)
commit8990cdf10cf50dc68aaf5a8479b04304d05f1581
tree51456a6d77d3ca90a345d4d952cf392d4a7a5646
parentb3fde74ea195d2f9f49830a29f971a0aab4cd67a
libnvdimm, label: switch to using v1.2 labels by default

The rules for which version of the label specification are in effect at
any given point in time are as follows:

1/ If a DIMM has an existing / valid index block then the version
   specified is used regardless if it is a previous version.

2/ By default when the kernel is initializing new index blocks the
   latest specification version (v1.2 at time of writing) is used.

3/ An environment that wants to force create v1.1 label-sets must
   arrange for userspace to disable all active regions / namespaces /
   dimms and write a valid set of v1.1 index blocks to the dimms.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/label.c