[dm-devel] [PATCH v3] dcssblk: add dax_operations support

Gerald Schaefer gerald.schaefer at de.ibm.com
Thu Apr 20 17:05:50 UTC 2017


On Wed, 19 Apr 2017 15:32:38 -0700
Dan Williams <dan.j.williams at intel.com> wrote:

> 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 at de.ibm.com>
> Signed-off-by: Dan Williams <dan.j.williams at intel.com>
> ---
> Changes since v2:
> * fix return code in the alloc_dax() failure case (Gerald)
> * assign dax_dev to dev_info and kill local variable (Gerald)
> 
>  drivers/s390/block/Kconfig   |    1 +
>  drivers/s390/block/dcssblk.c |   55 +++++++++++++++++++++++++++++++++++-------
>  2 files changed, 47 insertions(+), 9 deletions(-)

Acked-by: Gerald Schaefer <gerald.schaefer at de.ibm.com>




More information about the dm-devel mailing list