diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-25 16:54:45 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-19 15:14:36 -0700 |
commit | 1647b9b959c7b1b3c20e8efa2c40529e7dce756a (patch) | |
tree | ead50daa12cc606be8f24d6cc9fb18cb4a18bcfe /drivers/block/Kconfig | |
parent | 60fcd55cc236dbb3d6587f48120f00f59cb08540 (diff) | |
download | talos-obmc-linux-1647b9b959c7b1b3c20e8efa2c40529e7dce756a.tar.gz talos-obmc-linux-1647b9b959c7b1b3c20e8efa2c40529e7dce756a.zip |
brd: add dax_operations support
Setup a dax_inode to have the same lifetime as the brd block device and
add a ->direct_access() method that is equivalent to
brd_direct_access(). Once fs/dax.c has been converted to use
dax_operations the old brd_direct_access() will be removed.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/block/Kconfig')
-rw-r--r-- | drivers/block/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index f744de7a0f9b..e66956fc2c88 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -339,6 +339,7 @@ config BLK_DEV_SX8 config BLK_DEV_RAM tristate "RAM block device support" + select DAX if BLK_DEV_RAM_DAX ---help--- Saying Y here will allow you to use a portion of your RAM memory as a block device, so that you can make file systems on it, read and |