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)
commitc5ed9268643c7c4c9f2aaa0fd4c936095e6480ef
tree5fc22cf3fddd4ddad159edfaa4ee83430c0c820f
parentb354aba0165519a74f540f2ba89d7ec78efca21d
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