lkml.org 
[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] dcssblk: add dax_operations support
On Wed, 19 Apr 2017 15:32:38 -0700
Dan Williams <dan.j.williams@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@de.ibm.com>
> Signed-off-by: Dan Williams <dan.j.williams@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@de.ibm.com>

\
 
 \ /
  Last update: 2017-04-20 19:07    [W:0.046 / U:4.332 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site