]> git.baikalelectronics.ru Git - kernel.git/commit
dcssblk: add dax_operations support
authorDan Williams <dan.j.williams@intel.com>
Thu, 26 Jan 2017 21:54:35 +0000 (13:54 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:36 +0000 (15:14 -0700)
commit796d5f1fa62c2304031933f4adb2a434ef6d3c64
tree17d690228739058196408a54c7414c3b502877e6
parent08d19e3176bd4a0b0f40ee3a3cb912fc0e24ec62
dcssblk: add dax_operations support

Setup a dax_dev to have the same lifetime as the dcssblk block device
and add a ->direct_access() method that is equivalent to
dcssblk_direct_access(). Once fs/dax.c has been converted to use
dax_operations the old dcssblk_direct_access() will be removed.

Reported-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Acked-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/s390/block/Kconfig
drivers/s390/block/dcssblk.c