]> git.baikalelectronics.ru Git - kernel.git/commit
nfit, libnvdimm, region: export 'position' in mapping info
authorDan Williams <dan.j.williams@intel.com>
Sat, 5 Aug 2017 00:20:16 +0000 (17:20 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 5 Aug 2017 00:20:16 +0000 (17:20 -0700)
commitbec3bcd116079fcb230c3f17ecbedb276602f0db
tree051deacfc826795636237e63d1c1741e5c32bdb1
parentfc365aa3bff8ebb122fbd16681dc32c8fe0de864
nfit, libnvdimm, region: export 'position' in mapping info

It is useful to be able to know the position of a DIMM in an
interleave-set. Consider the case where the order of the DIMMs changes
causing a namespace to be invalidated because the interleave-set cookie no
longer matches. If the before and after state of each DIMM position is
known this state debugged by the system owner.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
drivers/nvdimm/nd.h
drivers/nvdimm/region_devs.c
include/linux/libnvdimm.h