]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
brd: add dax_operations support
authorDan Williams <dan.j.williams@intel.com>
Thu, 26 Jan 2017 00:54:45 +0000 (16:54 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:36 +0000 (15:14 -0700)
commit1647b9b959c7b1b3c20e8efa2c40529e7dce756a
treeead50daa12cc606be8f24d6cc9fb18cb4a18bcfe
parent60fcd55cc236dbb3d6587f48120f00f59cb08540
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>
drivers/block/Kconfig
drivers/block/brd.c