summaryrefslogtreecommitdiffstats
path: root/drivers/nvdimm/Kconfig
diff options
context:
space:
mode:
authorDan Williams2017-01-25 08:02:09 +0100
committerDan Williams2017-04-20 00:14:35 +0200
commitc1d6e828a35df524df2af277eedd1471d05e4f4c (patch)
treee0e22fcca09c7b5bb9d1c74d9e0b48da11bae8a7 /drivers/nvdimm/Kconfig
parentdax: introduce dax_operations (diff)
downloadkernel-qcow2-linux-c1d6e828a35df524df2af277eedd1471d05e4f4c.tar.gz
kernel-qcow2-linux-c1d6e828a35df524df2af277eedd1471d05e4f4c.tar.xz
kernel-qcow2-linux-c1d6e828a35df524df2af277eedd1471d05e4f4c.zip
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>
Diffstat (limited to 'drivers/nvdimm/Kconfig')
-rw-r--r--drivers/nvdimm/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/nvdimm/Kconfig b/drivers/nvdimm/Kconfig
index 59e750183b7f..5bdd499b5f4f 100644
--- a/drivers/nvdimm/Kconfig
+++ b/drivers/nvdimm/Kconfig
@@ -20,6 +20,7 @@ if LIBNVDIMM
config BLK_DEV_PMEM
tristate "PMEM: Persistent memory block device support"
default LIBNVDIMM
+ select DAX
select ND_BTT if BTT
select ND_PFN if NVDIMM_PFN
help