From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Snitzer Subject: Re: [PATCH v3 0/2] dax, dm: stop requiring dax for device-mapper Date: Wed, 2 Aug 2017 14:55:38 -0400 Message-ID: <20170802185537.GA16551@redhat.com> References: <150169667935.39569.15808116323143633486.stgit@dwillia2-desk3.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <150169667935.39569.15808116323143633486.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Dan Williams Cc: kbuild test robot , linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org, Michael Ellerman , Heiko Carstens , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Bart Van Assche , dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Paul Mackerras , Gerald Schaefer , Benjamin Herrenschmidt , Martin Schwidefsky , Alasdair Kergon List-Id: dm-devel.ids On Wed, Aug 02 2017 at 1:57pm -0400, Dan Williams wrote: > Changes since v2 [1]: > * rebase on -next to integrate with commit 273752c9ff03 "dm, dax: Make > sure dm_dax_flush() is called if device supports it" (kbuild robot) > * fix CONFIG_DAX dependencies to upgrade CONFIG_DAX=m to CONFIG_DAX=y > (kbuild robot) > > [1]: https://www.spinics.net/lists/kernel/msg2570522.html > > --- > > Bart points out that the DAX core is unconditionally enabled if > device-mapper is enabled. Add some config machinery and some > stub-static-inline routines to allow dax infrastructure to be deleted > from device-mapper at compile time. > > Since this depends on commit 273752c9ff03 that's already in -next, this > should go through the device-mapper tree. Commit 273752c9ff03eb83856601b2a3458218bb949e46 is upstream as of v4.13-rc3 -- so no real need to have this go via linux-dm.git That said, I don't mind picking it up once we are satisfied with the implementation. I'll start reviewing shortly. Mike From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 38BC821AEB0A0 for ; Wed, 2 Aug 2017 11:53:31 -0700 (PDT) Date: Wed, 2 Aug 2017 14:55:38 -0400 From: Mike Snitzer Subject: Re: [PATCH v3 0/2] dax, dm: stop requiring dax for device-mapper Message-ID: <20170802185537.GA16551@redhat.com> References: <150169667935.39569.15808116323143633486.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <150169667935.39569.15808116323143633486.stgit@dwillia2-desk3.amr.corp.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Dan Williams Cc: kbuild test robot , linux-nvdimm@lists.01.org, Michael Ellerman , Heiko Carstens , linux-kernel@vger.kernel.org, Bart Van Assche , dm-devel@redhat.com, Paul Mackerras , Gerald Schaefer , Benjamin Herrenschmidt , Martin Schwidefsky , Alasdair Kergon List-ID: On Wed, Aug 02 2017 at 1:57pm -0400, Dan Williams wrote: > Changes since v2 [1]: > * rebase on -next to integrate with commit 273752c9ff03 "dm, dax: Make > sure dm_dax_flush() is called if device supports it" (kbuild robot) > * fix CONFIG_DAX dependencies to upgrade CONFIG_DAX=m to CONFIG_DAX=y > (kbuild robot) > > [1]: https://www.spinics.net/lists/kernel/msg2570522.html > > --- > > Bart points out that the DAX core is unconditionally enabled if > device-mapper is enabled. Add some config machinery and some > stub-static-inline routines to allow dax infrastructure to be deleted > from device-mapper at compile time. > > Since this depends on commit 273752c9ff03 that's already in -next, this > should go through the device-mapper tree. Commit 273752c9ff03eb83856601b2a3458218bb949e46 is upstream as of v4.13-rc3 -- so no real need to have this go via linux-dm.git That said, I don't mind picking it up once we are satisfied with the implementation. I'll start reviewing shortly. Mike _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752642AbdHBSzm (ORCPT ); Wed, 2 Aug 2017 14:55:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:8608 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbdHBSzl (ORCPT ); Wed, 2 Aug 2017 14:55:41 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 21DB8C057FAD Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=msnitzer@redhat.com Date: Wed, 2 Aug 2017 14:55:38 -0400 From: Mike Snitzer To: Dan Williams Cc: kbuild test robot , linux-nvdimm@lists.01.org, Michael Ellerman , Heiko Carstens , linux-kernel@vger.kernel.org, Martin Schwidefsky , dm-devel@redhat.com, Paul Mackerras , Alasdair Kergon , Benjamin Herrenschmidt , Bart Van Assche , Gerald Schaefer Subject: Re: [PATCH v3 0/2] dax, dm: stop requiring dax for device-mapper Message-ID: <20170802185537.GA16551@redhat.com> References: <150169667935.39569.15808116323143633486.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <150169667935.39569.15808116323143633486.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Wed, 02 Aug 2017 18:55:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 02 2017 at 1:57pm -0400, Dan Williams wrote: > Changes since v2 [1]: > * rebase on -next to integrate with commit 273752c9ff03 "dm, dax: Make > sure dm_dax_flush() is called if device supports it" (kbuild robot) > * fix CONFIG_DAX dependencies to upgrade CONFIG_DAX=m to CONFIG_DAX=y > (kbuild robot) > > [1]: https://www.spinics.net/lists/kernel/msg2570522.html > > --- > > Bart points out that the DAX core is unconditionally enabled if > device-mapper is enabled. Add some config machinery and some > stub-static-inline routines to allow dax infrastructure to be deleted > from device-mapper at compile time. > > Since this depends on commit 273752c9ff03 that's already in -next, this > should go through the device-mapper tree. Commit 273752c9ff03eb83856601b2a3458218bb949e46 is upstream as of v4.13-rc3 -- so no real need to have this go via linux-dm.git That said, I don't mind picking it up once we are satisfied with the implementation. I'll start reviewing shortly. Mike