Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Verma, Vishal L
On Wed, 2019-08-28 at 15:38 -0700, Scargall, Steve wrote: > Thanks for the clarification. I have a much better understanding > now. > > Updating the ndctl-create-namespace man page to clarify what ' > --region=all' does and does not do in combination with other arguments > and options would be

RE: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Scargall, Steve
[mailto:dan.j.willi...@intel.com] Sent: Wednesday, August 28, 2019 3:32 PM To: Verma, Vishal L Cc: Scargall, Steve ; jmo...@redhat.com; linux-nvdimm@lists.01.org Subject: Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily On Wed, Aug 28, 2019 at 2:22 PM Verma, Vishal L wrote: > >

Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Dan Williams
On Wed, Aug 28, 2019 at 2:22 PM Verma, Vishal L wrote: > > On Wed, 2019-08-28 at 21:16 +, Verma, Vishal L wrote: > > On Wed, 2019-08-28 at 13:47 -0700, Scargall, Steve wrote: > > > Hi Jeff, > > > > > > The issue is more of repetition. On an 8-socket system, should a > > > user really be

Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Verma, Vishal L
On Wed, 2019-08-28 at 21:16 +, Verma, Vishal L wrote: > On Wed, 2019-08-28 at 13:47 -0700, Scargall, Steve wrote: > > Hi Jeff, > > > > The issue is more of repetition. On an 8-socket system, should a > > user really be expected to type 'ndctl create-namespace' eight times > > vs. running

Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Verma, Vishal L
On Wed, 2019-08-28 at 13:47 -0700, Scargall, Steve wrote: > Hi Jeff, > > The issue is more of repetition. On an 8-socket system, should a > user really be expected to type 'ndctl create-namespace' eight times > vs. running 'ndctl create-namespace --region=all' once? SAP HANA is > an example

RE: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Scargall, Steve
teve -Original Message- From: Jeff Moyer [mailto:jmo...@redhat.com] Sent: Wednesday, August 28, 2019 2:13 PM To: Verma, Vishal L Cc: linux-nvdimm@lists.01.org; Scargall, Steve ; Williams, Dan J Subject: Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily Vishal Verma wr

Re: [ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Jeff Moyer
Vishal Verma writes: > When a --region=all option is supplied to ndctl-create-namespace, it > happily ignores it, since create-namespace has historically only created > one namespace per invocation. > > This can be cumbersome, so change create-namespace to create namespaces > greedily. When

[ndctl RFC PATCH] ndctl/namespace: create namespaces greedily

2019-08-28 Thread Vishal Verma
When a --region=all option is supplied to ndctl-create-namespace, it happily ignores it, since create-namespace has historically only created one namespace per invocation. This can be cumbersome, so change create-namespace to create namespaces greedily. When --region=all is specified, or if a