On Wed, 19 Apr 2017 15:32:38 -0700 Dan Williams <dan.j.williams@xxxxxxxxx> 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@xxxxxxxxxx> > Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> > --- > 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@xxxxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel