diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-25 08:02:09 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-20 00:14:35 +0200 |
commit | c1d6e828a35df524df2af277eedd1471d05e4f4c (patch) | |
tree | e0e22fcca09c7b5bb9d1c74d9e0b48da11bae8a7 /drivers/nvdimm/Kconfig | |
parent | dax: introduce dax_operations (diff) | |
download | linux-c1d6e828a35df524df2af277eedd1471d05e4f4c.tar.xz 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/Kconfig | 1 |
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 |