]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm, dax: autodetect support
authorDan Williams <dan.j.williams@intel.com>
Wed, 18 May 2016 21:50:12 +0000 (14:50 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 21 May 2016 05:02:57 +0000 (22:02 -0700)
commitd034d2350f8d3653f833eb48eb084134ae73cda0
tree5fc22cf3fddd4ddad159edfaa4ee83430c0c820f
parentb2a95aec922d310c0ca2a0d83c1632ec9e9817e6
libnvdimm, dax: autodetect support

For autodetecting a previously established dax configuration we need the
info block to indicate block-device vs device-dax mode, and we need to
have the default namespace probe hand-off the configuration to the
dax_pmem driver.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/dax_devs.c
drivers/nvdimm/nd.h
drivers/nvdimm/pfn.h
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pmem.c