From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39993 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S944038AbdDTRF7 (ORCPT ); Thu, 20 Apr 2017 13:05:59 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v3KH3egv106302 for ; Thu, 20 Apr 2017 13:05:58 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 29xgvgb3n3-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Thu, 20 Apr 2017 13:05:58 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 20 Apr 2017 18:05:55 +0100 Date: Thu, 20 Apr 2017 19:05:50 +0200 From: Gerald Schaefer To: Dan Williams Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, dm-devel@redhat.com, linux-fsdevel@vger.kernel.org, hch@lst.de Subject: Re: [PATCH v3] dcssblk: add dax_operations support In-Reply-To: <149264113824.36586.1220609927071019352.stgit@dwillia2-desk3.amr.corp.intel.com> References: <149264113824.36586.1220609927071019352.stgit@dwillia2-desk3.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20170420190550.6a31fa6c@thinkpad> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 19 Apr 2017 15:32:38 -0700 Dan Williams 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 > Signed-off-by: Dan Williams > --- > 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