]> git.baikalelectronics.ru Git - kernel.git/commit
axon_ram: add dax_operations support
authorDan Williams <dan.j.williams@intel.com>
Wed, 25 Jan 2017 23:25:11 +0000 (15:25 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 19 Apr 2017 22:14:36 +0000 (15:14 -0700)
commit5f1bb700437b35686fbbae51c7343c9f5b71b992
tree00da188329133a05706b69a0add1ee06033ff6aa
parent475421d5bf6b4811ba3fad5feaa7b621c27cc57c
axon_ram: add dax_operations support

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

Reported-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
arch/powerpc/platforms/Kconfig
arch/powerpc/sysdev/axonram.c