Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933365AbbFWUd4 (ORCPT ); Tue, 23 Jun 2015 16:33:56 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:36613 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932747AbbFWUdp (ORCPT ); Tue, 23 Jun 2015 16:33:45 -0400 MIME-Version: 1.0 In-Reply-To: References: <20150617235209.12943.24419.stgit@dwillia2-desk3.amr.corp.intel.com> <20150617235458.12943.23425.stgit@dwillia2-desk3.amr.corp.intel.com> <20150622163453.GA9187@lst.de> <20150622164837.GB9393@lst.de> <20150623101917.GG24894@lst.de> Date: Tue, 23 Jun 2015 13:33:44 -0700 Message-ID: Subject: Re: [PATCH 02/15] libnvdimm: infrastructure for btt devices From: Dan Williams To: Christoph Hellwig Cc: Jeff Moyer , Jens Axboe , "linux-nvdimm@lists.01.org" , Neil Brown , Greg KH , "linux-kernel@vger.kernel.org" , Ingo Molnar , Linux ACPI , linux-fsdevel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1658 Lines: 36 On Tue, Jun 23, 2015 at 8:19 AM, Dan Williams wrote: > On Tue, Jun 23, 2015 at 3:19 AM, Christoph Hellwig wrote: >> On Mon, Jun 22, 2015 at 12:02:54PM -0700, Dan Williams wrote: >>> I don't see the need to re-invent partitioning which is the path this >>> requested rework is putting us on... >>> >>> However, when the need arises for smaller granularity BTT we can have >>> the partition fight then. To be clear, I believe that need is already >>> here today, but I'm not in a position to push that agenda at this late >>> date. >> >> >> Instead of all this complaining and moaning let's figure out what >> architecture you'd actually want. The one I had in mind is: >> >> +------------------------------+ >> | block layer (& partitions) | >> +---------------+--------------+--------------------+ >> | pmem driver | btt driver | other consumers | >> +---------------+--------------+--------------------+ >> | pmem API through libnvdimm | >> +---------------------------------------------------+ >> > > I've got this mostly coded up. The nice property is that BTTs now > become another flavor of the same namespace. This approach has grown on me since yesterday. I neglected to realize that we can carve out a BLK-mode namespace to be a BTT enabled log device if the need arises to satisfy what BTT on a partition was doing previously. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/