Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread jane . chu
On 8/29/19 11:28 AM, Dan Williams wrote: On Thu, Aug 29, 2019 at 11:08 AM Verma, Vishal L wrote: On Thu, 2019-08-29 at 10:38 -0700, jane@oracle.com wrote: Hi, Vishal, On 8/28/19 5:17 PM, Vishal Verma wrote: Add a --continue option to ndctl-create-namespaces to allow the creation of as

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread Vishal Verma
On 08/29, Verma, Vishal L wrote: > On Wed, 2019-08-28 at 19:34 -0700, Dan Williams wrote: > > > > Hmm, should "--continue --force" override that policy? > > Yep that's a good idea, with a big note in the man page that errors > could be lost/meaningless in that case. > > > > > Otherwise this

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread Dan Williams
On Thu, Aug 29, 2019 at 11:08 AM Verma, Vishal L wrote: > > On Thu, 2019-08-29 at 10:38 -0700, jane@oracle.com wrote: > > Hi, Vishal, > > > > > > On 8/28/19 5:17 PM, Vishal Verma wrote: > > > Add a --continue option to ndctl-create-namespaces to allow the creation > > > of as many namespaces

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread Verma, Vishal L
On Thu, 2019-08-29 at 10:38 -0700, jane@oracle.com wrote: > Hi, Vishal, > > > On 8/28/19 5:17 PM, Vishal Verma wrote: > > Add a --continue option to ndctl-create-namespaces to allow the creation > > of as many namespaces as possible, that meet the given filter > > restrictions. > > > > The

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread Verma, Vishal L
On Wed, 2019-08-28 at 19:34 -0700, Dan Williams wrote: > On Wed, Aug 28, 2019 at 5:17 PM Vishal Verma wrote: > > Add a --continue option to ndctl-create-namespaces to allow the creation > > of as many namespaces as possible, that meet the given filter > > restrictions. > > > > The creation loop

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-29 Thread jane . chu
Hi, Vishal, On 8/28/19 5:17 PM, Vishal Verma wrote: Add a --continue option to ndctl-create-namespaces to allow the creation of as many namespaces as possible, that meet the given filter restrictions. The creation loop will be aborted if a failure is encountered at any point. Just wondering

Re: [ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-28 Thread Dan Williams
On Wed, Aug 28, 2019 at 5:17 PM Vishal Verma wrote: > > Add a --continue option to ndctl-create-namespaces to allow the creation > of as many namespaces as possible, that meet the given filter > restrictions. > > The creation loop will be aborted if a failure is encountered at any > point. > >

[ndctl PATCH 3/3] ndctl/namespace: add a --continue option to create namespaces greedily

2019-08-28 Thread Vishal Verma
Add a --continue option to ndctl-create-namespaces to allow the creation of as many namespaces as possible, that meet the given filter restrictions. The creation loop will be aborted if a failure is encountered at any point. Link: https://github.com/pmem/ndctl/issues/106 Reported-by: Steve