]> git.baikalelectronics.ru Git - 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)
commit713865f5f8936c8adcf591da74a72810453121d5
treeead50daa12cc606be8f24d6cc9fb18cb4a18bcfe
parent5f1bb700437b35686fbbae51c7343c9f5b71b992
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