From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kani, Toshimitsu" Subject: Re: [PATCH v3 05/14] dm: add ->flush() dax operation support Date: Thu, 15 Jun 2017 01:44:54 +0000 Message-ID: <1497491062.9288.19.camel@hpe.com> References: <149703982465.20620.14881139332926778446.stgit@dwillia2-desk3.amr.corp.intel.com> <149703985321.20620.13954624502810597823.stgit@dwillia2-desk3.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <149703985321.20620.13954624502810597823.stgit-p8uTFz9XbKj2zm6wflaqv1nYeNYlB/vhral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Content-Language: en-US Content-ID: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: "dan.j.williams-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org" , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" Cc: "snitzer-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "dm-devel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "viro-RmSDqhL/yNMiFSDQTTA3OLVCufUGDwFn@public.gmane.org" , "linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "hch-jcswGhMUV9g@public.gmane.org" List-Id: dm-devel.ids On Fri, 2017-06-09 at 13:24 -0700, Dan Williams wrote: > Allow device-mapper to route flush operations to the > per-target implementation. In order for the device stacking to work > we need a dax_dev and a pgoff relative to that device. This gives > each layer of the stack the information it needs to look up the > operation pointer for the next level. > > This conceptually allows for an array of mixed device drivers with > varying flush implementations. > > Cc: Toshi Kani > Reviewed-by: Mike Snitzer > Signed-off-by: Dan Williams Looks good to me. Reviewed-by: Toshi Kani Thanks, -Toshi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) (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 38A7421A16ECB for ; Wed, 14 Jun 2017 18:43:42 -0700 (PDT) From: "Kani, Toshimitsu" Subject: Re: [PATCH v3 05/14] dm: add ->flush() dax operation support Date: Thu, 15 Jun 2017 01:44:54 +0000 Message-ID: <1497491062.9288.19.camel@hpe.com> References: <149703982465.20620.14881139332926778446.stgit@dwillia2-desk3.amr.corp.intel.com> <149703985321.20620.13954624502810597823.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <149703985321.20620.13954624502810597823.stgit@dwillia2-desk3.amr.corp.intel.com> Content-Language: en-US Content-ID: MIME-Version: 1.0 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.j.williams@intel.com" , "linux-nvdimm@lists.01.org" Cc: "snitzer@redhat.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" , "dm-devel@redhat.com" , "viro@zeniv.linux.org.uk" , "linux-fsdevel@vger.kernel.org" , "hch@lst.de" List-ID: On Fri, 2017-06-09 at 13:24 -0700, Dan Williams wrote: > Allow device-mapper to route flush operations to the > per-target implementation. In order for the device stacking to work > we need a dax_dev and a pgoff relative to that device. This gives > each layer of the stack the information it needs to look up the > operation pointer for the next level. > > This conceptually allows for an array of mixed device drivers with > varying flush implementations. > > Cc: Toshi Kani > Reviewed-by: Mike Snitzer > Signed-off-by: Dan Williams Looks good to me. Reviewed-by: Toshi Kani Thanks, -Toshi _______________________________________________ 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: from g2t2353.austin.hpe.com ([15.233.44.26]:15784 "EHLO g2t2353.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751606AbdFOBo7 (ORCPT ); Wed, 14 Jun 2017 21:44:59 -0400 From: "Kani, Toshimitsu" To: "dan.j.williams@intel.com" , "linux-nvdimm@lists.01.org" CC: "dm-devel@redhat.com" , "linux-kernel@vger.kernel.org" , "viro@zeniv.linux.org.uk" , "hch@lst.de" , "x86@kernel.org" , "snitzer@redhat.com" , "linux-fsdevel@vger.kernel.org" Subject: Re: [PATCH v3 05/14] dm: add ->flush() dax operation support Date: Thu, 15 Jun 2017 01:44:54 +0000 Message-ID: <1497491062.9288.19.camel@hpe.com> References: <149703982465.20620.14881139332926778446.stgit@dwillia2-desk3.amr.corp.intel.com> <149703985321.20620.13954624502810597823.stgit@dwillia2-desk3.amr.corp.intel.com> In-Reply-To: <149703985321.20620.13954624502810597823.stgit@dwillia2-desk3.amr.corp.intel.com> Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-fsdevel-owner@vger.kernel.org List-ID: T24gRnJpLCAyMDE3LTA2LTA5IGF0IDEzOjI0IC0wNzAwLCBEYW4gV2lsbGlhbXMgd3JvdGU6DQo+ IEFsbG93IGRldmljZS1tYXBwZXIgdG8gcm91dGUgZmx1c2ggb3BlcmF0aW9ucyB0byB0aGUNCj4g cGVyLXRhcmdldCBpbXBsZW1lbnRhdGlvbi4gSW4gb3JkZXIgZm9yIHRoZSBkZXZpY2Ugc3RhY2tp bmcgdG8gd29yaw0KPiB3ZSBuZWVkIGEgZGF4X2RldiBhbmQgYSBwZ29mZiByZWxhdGl2ZSB0byB0 aGF0IGRldmljZS4gVGhpcyBnaXZlcw0KPiBlYWNoIGxheWVyIG9mIHRoZSBzdGFjayB0aGUgaW5m b3JtYXRpb24gaXQgbmVlZHMgdG8gbG9vayB1cCB0aGUNCj4gb3BlcmF0aW9uIHBvaW50ZXIgZm9y IHRoZSBuZXh0IGxldmVsLg0KPiANCj4gVGhpcyBjb25jZXB0dWFsbHkgYWxsb3dzIGZvciBhbiBh cnJheSBvZiBtaXhlZCBkZXZpY2UgZHJpdmVycyB3aXRoDQo+IHZhcnlpbmcgZmx1c2ggaW1wbGVt ZW50YXRpb25zLg0KPiANCj4gQ2M6IFRvc2hpIEthbmkgPHRvc2hpLmthbmlAaHBlLmNvbT4NCj4g UmV2aWV3ZWQtYnk6IE1pa2UgU25pdHplciA8c25pdHplckByZWRoYXQuY29tPg0KPiBTaWduZWQt b2ZmLWJ5OiBEYW4gV2lsbGlhbXMgPGRhbi5qLndpbGxpYW1zQGludGVsLmNvbT4NCg0KTG9va3Mg Z29vZCB0byBtZS4NCg0KUmV2aWV3ZWQtYnk6IFRvc2hpIEthbmkgPHRvc2hpLmthbmlAaHBlLmNv bT4NCg0KVGhhbmtzLA0KLVRvc2hp