Таможенная логистика

2019-11-04 Thread Jana
Таможенные риски. Как избежать "проблем на таможне" Место и дата проведения: 13-14 ноября. Посетив данную программу, Вы получите необходимые знания для эффективного взаимодействия с таможенной службой Украины. Познакомитесь с изменениями во ВЭД после проведения таможенной реформы, узнаете

[ndctl PATCH 2/2] ndctl/namespace: For enable-namespace all, don't count no-op namespaces

2019-11-04 Thread Vishal Verma
When ndctl-enable-namespace is called for namespaces that are already enabled, it shouldn't report that a positive number of namespaces were enabled. Check whether the namespace is enabled, and if so, omit it from the 'processed' count. Since the indentation-heavy section for ACTION_ENABLE is

[ndctl PATCH 1/2] ndctl/namespace: skip seed namespaces for 'enable-namespace'

2019-11-04 Thread Vishal Verma
Performing 'ndctl enable-namespace all' results in ndctl going through a number of seed namespaces, one per region, and trying to enable them, which fails as expected. This results in error messages like the following, which are almost always going to be present, and are almost always pointless:

[ndctl PATCH v4 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

[ndctl PATCH v4 1/2] ndctl/namespace: remove open coded is_namespace_active()

2019-11-04 Thread Vishal Verma
Replace the open coded namespace active check with the one provided by libndctl - ndctl_namespace_is_active(). is_namespace_active() additionally checked for a non-NULL 'ndns', which the libndctl API doesn't do. However, all the callers either performed that check themselves, or made prior

[ndctl PATCH v3 1/2] ndctl/namespace: remove open coded is_namespace_active()

2019-11-04 Thread Vishal Verma
Replace the open coded namespace active check with the one provided by libndctl - ndctl_namespace_is_active(). is_namespace_active() additionally checked for a non-NULL 'ndns', which the libndctl API doesn't do. However, all the callers either performed that check themselves, or made prior

[ndctl PATCH v3 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

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 1/2] ndctl/namespace: remove open coded is_namespace_active()

2019-11-04 Thread Vishal Verma
Replace the open coded namespace active check with the one provided by libndctl - ndctl_namespace_is_active(). is_namespace_active() additionally checked for a non-NULL 'ndns', which the libndctl API doesn't do. However, all the callers either performed that check themselves, or made prior

[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

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

2019-11-04 Thread Verma, Vishal L
On Mon, 2019-11-04 at 10:58 -0800, Dan Williams wrote: > > > > > Also, how about > > > s/ndctl_namespace_is_configurable/ndctl_namespace_is_configuration_idle/? > > > Because to me all namespaces are always "configurable", but some may > > > have active non-default properties set. > > > >

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

2019-11-04 Thread Dan Williams
On Mon, Nov 4, 2019 at 10:48 AM Verma, Vishal L wrote: > > On Mon, 2019-11-04 at 08:35 -0800, Dan Williams wrote: > > On Fri, Nov 1, 2019 at 1:27 PM Vishal Verma > > wrote: > > > The motivation for this change is that we want to refrain from > > > (re)configuring what appear to be partially

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

2019-11-04 Thread Verma, Vishal L
On Mon, 2019-11-04 at 08:35 -0800, Dan Williams wrote: > On Fri, Nov 1, 2019 at 1:27 PM Vishal Verma wrote: > > 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

Re: [PATCH 4/4] modpost: do not set ->preloaded for symbols from Module.symvers

2019-11-04 Thread Dan Williams
On Sun, Nov 3, 2019 at 10:43 PM Dan Williams wrote: > > On Sun, Nov 3, 2019 at 7:12 PM Masahiro Yamada > wrote: > > > > On Sat, Nov 2, 2019 at 3:52 AM Jeff Moyer wrote: > > > > > > Masahiro Yamada writes: > > > > > > > On Fri, Nov 1, 2019 at 1:51 AM Jeff Moyer wrote: > > > >> > > > >>

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

2019-11-04 Thread Dan Williams
On Fri, Nov 1, 2019 at 1:27 PM Vishal Verma wrote: > > 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