Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932073AbbFVQfF (ORCPT ); Mon, 22 Jun 2015 12:35:05 -0400 Received: from verein.lst.de ([213.95.11.211]:42980 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753973AbbFVQe4 (ORCPT ); Mon, 22 Jun 2015 12:34:56 -0400 Date: Mon, 22 Jun 2015 18:34:53 +0200 From: Christoph Hellwig To: Dan Williams Cc: axboe@kernel.dk, linux-nvdimm@ml01.01.org, boaz@plexistor.com, toshi.kani@hp.com, Neil Brown , Greg KH , linux-kernel@vger.kernel.org, mingo@kernel.org, linux-acpi@vger.kernel.org, linux-fsdevel@vger.kernel.org, hch@lst.de Subject: Re: [PATCH 02/15] libnvdimm: infrastructure for btt devices Message-ID: <20150622163453.GA9187@lst.de> References: <20150617235209.12943.24419.stgit@dwillia2-desk3.amr.corp.intel.com> <20150617235458.12943.23425.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150617235458.12943.23425.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 584 Lines: 11 FYI, the mess calls into libnvdimm for each register pmem or blk device which then walks partitions to find your btt metadata is an absolutely no go and suggest that the layering is completely fucked up. Please go and revisit it for a sensible model, where the different drivers attach to a nvdimm bus instead of stacking up with a little detour through the block layer. From all that it's pretty clear pmem, blk and btt should be peers in the hierarchy. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/