Re: [ndctl PATCH v2 2/2] ndctl/namespace: introduce ndctl_namespace_is_configuration_idle()

2019-11-04 Thread Verma, Vishal L
On Mon, 2019-11-04 at 13:08 -0700, Vishal Verma wrote: > > diff --git a/util/sysfs.c b/util/sysfs.c > index 9f7bc1f..81cd055 100644 > --- a/util/sysfs.c > +++ b/util/sysfs.c > @@ -20,6 +20,7 @@ > #include > #include > #include > +#include These are stray lines from the previous version,

[ndctl PATCH v2 2/2] ndctl/namespace: introduce ndctl_namespace_is_configuration_idle()

2019-11-04 Thread Vishal Verma
The motivation for this change is that we want to refrain from (re)configuring what appear to be partially configured namespaces. Namespaces may end up in a state that looks partially configured when the kernel isn't able to enable a namespace due to mismatched PAGE_SIZE expectations. In such