On 8/29/19 11:28 AM, Dan Williams wrote:
On Thu, Aug 29, 2019 at 11:08 AM Verma, Vishal L
<[email protected]> wrote:

On Thu, 2019-08-29 at 10:38 -0700, [email protected] 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 creation loop will be aborted if a failure is encountered at any
point.

Just wondering what is the motivation behind providing this option?

Hi Jane,

See Steve's email here:
https://lists.01.org/pipermail/linux-nvdimm/2019-August/023390.html

Essentially it lets sysadmins create a simple, maximal configuration
without everyone having to script it.

It also gives a touch point to start thinking about parallel namespace
creation. The large advancements in boot time that Alex achieved were
mainly from parallelizing namespace init. With --continue we could
batch the namespace enable calls and kick off a bind thread per
namespace.


Thanks Dan! Sorry I was reading email backwards, just caught up with the earlier discussions.

With the --continue option, assuming the --size option will be taken if specified, it would be possible to end up with a large number of small namespaces with a simple command that runs for a long while, right? can it be killed by ctrl-c once the innocent user regrets? :)

thanks,
-jane

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to