pmem: add dax_operations support
authorDan Williams <dan.j.williams@intel.com>
Wed, 25 Jan 2017 07:02:09 +0000 (23:02 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:35 +0000 (15:14 -0700)
commitc1d6e828a35df524df2af277eedd1471d05e4f4c
treee0e22fcca09c7b5bb9d1c74d9e0b48da11bae8a7
parent6568b08b77816cda2a95919c7494108d983d5941
pmem: add dax_operations support

Setup a dax_device to have the same lifetime as the pmem block device
and add a ->direct_access() method that is equivalent to
pmem_direct_access(). Once fs/dax.c has been converted to use
dax_operations the old pmem_direct_access() will be removed.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/dax.h
drivers/nvdimm/Kconfig
drivers/nvdimm/pmem.c
drivers/nvdimm/pmem.h
include/linux/dax.h
tools/testing/nvdimm/pmem-dax.c