From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 844FE212E159A for ; Fri, 26 Jul 2019 16:47:38 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id u15so41456234oiv.0 for ; Fri, 26 Jul 2019 16:45:11 -0700 (PDT) MIME-Version: 1.0 References: <20190724215741.18556-1-vishal.l.verma@intel.com> <20190724215741.18556-12-vishal.l.verma@intel.com> In-Reply-To: From: Dan Williams Date: Fri, 26 Jul 2019 16:44:58 -0700 Message-ID: Subject: Re: [ndctl PATCH v7 11/13] contrib/ndctl: fix region-id completions for daxctl 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: "Verma, Vishal L" Cc: "dave.hansen@linux.intel.com" , "pasha.tatashin@soleen.com" , "linux-nvdimm@lists.01.org" List-ID: On Fri, Jul 26, 2019 at 4:30 PM Verma, Vishal L wrote: > > > On Thu, 2019-07-25 at 19:55 -0700, Dan Williams wrote: > > On Wed, Jul 24, 2019 at 2:58 PM Vishal Verma > > wrote: > > > The completion helpers for daxctl assumed the region arguments for > > > specifying daxctl regions were the same as ndctl regions, i.e. > > > "regionX". This is not true - daxctl region arguments are a simple > > > numeric 'id'. > > > > Oh, that's an unfortunate difference, but too late to change now I > > think, good find. > > > > Reviewed-by: Dan Williams > > Yep - though I think I like --region=0 better than --region=region0, > less redundancy. But agreed, probably too late to change. We could teach it to allow both. Something for the backlog, but at least the kernel is using a common number allocator for pmem regions and hmem regions. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm