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)
commit7a2765f6e82063f348ebce78c28eceff741689d4
tree17d690228739058196408a54c7414c3b502877e6
parent1647b9b959c7b1b3c20e8efa2c40529e7dce756a
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