Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752187AbbFYWfF (ORCPT ); Thu, 25 Jun 2015 18:35:05 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:36682 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbbFYWe4 (ORCPT ); Thu, 25 Jun 2015 18:34:56 -0400 MIME-Version: 1.0 In-Reply-To: <1435270287.11808.352.camel@misato.fc.hp.com> References: <20150625090554.40066.69562.stgit@dwillia2-desk3.jf.intel.com> <20150625093738.40066.88750.stgit@dwillia2-desk3.jf.intel.com> <1435254317.11808.327.camel@misato.fc.hp.com> <1435257283.13411.4.camel@intel.com> <1435269103.11808.349.camel@misato.fc.hp.com> <1435270287.11808.352.camel@misato.fc.hp.com> Date: Thu, 25 Jun 2015 15:34:55 -0700 Message-ID: Subject: Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices From: Dan Williams To: Toshi Kani Cc: "axboe@kernel.dk" , "linux-nvdimm@lists.01.org" , "linux-kernel@vger.kernel.org" , "mingo@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "hch@lst.de" 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: 1026 Lines: 24 On Thu, Jun 25, 2015 at 3:11 PM, Toshi Kani wrote: > On Thu, 2015-06-25 at 15:00 -0700, Dan Williams wrote: > Yes, I see no problem with bound BTTs and their device files. So, how > do we bind BTT with this new version? > # cd /sys/bus/nd/devices # uuidgen > btt6/uuid # echo 4096 > btt6/sector_size # echo namespace6.0 > btt6/namespace # echo namespace6.0 > ../drivers/nd_pmem/unbind # echo btt6 > ../drivers/nd_pmem/bind After reboot, when the system sees namespace6.0 again it will notice the btt instance and attach bttX instead. The net effect is that now you'll only ever have /dev/pmem6 or /dev/pmem6s, never both at the same time that was a side effect of the stacking approach. I'll post the patch that updates libndctl and the unit tests shortly -- 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/