Message could not be delivered

2018-03-07 Thread The Post Office
The original message was received at Thu, 8 Mar 2018 11:27:41 +0800 from lists.01.org [88.6.88.60] - The following addresses had permanent fatal errors - - Transcript of session follows - while talking to lists.01.org.: >>> MAIL From:"The Post

Re: [PATCH v2 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Verma, Vishal L
On Wed, 2018-03-07 at 12:48 -0800, Dan Williams wrote: > On Wed, Mar 7, 2018 at 12:42 PM, Verma, Vishal L > wrote: > > > > On Wed, 2018-03-07 at 11:53 -0700, Ross Zwisler wrote: > > > Add support to 'ndctl list' so that we can filter DIMMs, regions > > > and > > >

Re: [PATCH v2 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Verma, Vishal L
On Wed, 2018-03-07 at 11:53 -0700, Ross Zwisler wrote: > Add support to 'ndctl list' so that we can filter DIMMs, regions and > namespaces based on numa node. Something for the future - perhaps we can add this same numa node based filtering to all the operations on namespaces/regions/dimms. >

Re: [PATCH v2 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Dan Williams
On Wed, Mar 7, 2018 at 10:53 AM, Ross Zwisler wrote: > Add support to 'ndctl list' so that we can filter DIMMs, regions and > namespaces based on numa node. > > Signed-off-by: Ross Zwisler > --- > v2: Use NUMA_NO_NODE intead of hard

[PATCH v2 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Ross Zwisler
Add support to 'ndctl list' so that we can filter DIMMs, regions and namespaces based on numa node. Signed-off-by: Ross Zwisler --- v2: Use NUMA_NO_NODE intead of hard coding -1 (Dan). --- Documentation/ndctl/ndctl-list.txt | 4 ndctl/list.c

Re: [PATCH 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Ross Zwisler
On Wed, Mar 07, 2018 at 10:36:47AM -0800, Dan Williams wrote: > > @@ -342,6 +372,10 @@ int util_filter_walk(struct ndctl_ctx *ctx, struct > > util_filter_ctx *fctx, > > param->namespace)) > > continue; > > > > +

Re: [PATCH 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Dan Williams
On Wed, Mar 7, 2018 at 10:02 AM, Ross Zwisler wrote: > Add support to 'ndctl list' so that we can filter DIMMs, regions and > namespaces based on numa node. > > Signed-off-by: Ross Zwisler > --- > Documentation/ndctl/ndctl-list.txt |

Re: [PATCH 2/3] ndctl: add numa_node support for regions

2018-03-07 Thread Dan Williams
On Wed, Mar 7, 2018 at 10:02 AM, Ross Zwisler wrote: > Add an API for getting the numa node of a given region and add a numa_node > field to the "ndctl list" region output. > Looks good, Reviewed-by: Dan Williams

Re: [PATCH 1/3] ndctl: don't print erroneous namespace numa_nodes

2018-03-07 Thread Dan Williams
On Wed, Mar 7, 2018 at 10:02 AM, Ross Zwisler wrote: > If the kernel has CONFIG_NUMA unset namespaces in sysfs will lack a > numa_node attribute. In such cases ndctl will report a value of 0 for the > namespace numa_node in 'ndctl list'. Instead of reporting

[PATCH 1/3] ndctl: don't print erroneous namespace numa_nodes

2018-03-07 Thread Ross Zwisler
If the kernel has CONFIG_NUMA unset namespaces in sysfs will lack a numa_node attribute. In such cases ndctl will report a value of 0 for the namespace numa_node in 'ndctl list'. Instead of reporting potentially bad data just hide the numa_node field if it is unsupported. Signed-off-by: Ross

[PATCH 3/3] ndctl: add filtering based on numa_node

2018-03-07 Thread Ross Zwisler
Add support to 'ndctl list' so that we can filter DIMMs, regions and namespaces based on numa node. Signed-off-by: Ross Zwisler --- Documentation/ndctl/ndctl-list.txt | 4 ndctl/list.c | 2 ++ util/filter.c | 38

[PATCH 2/3] ndctl: add numa_node support for regions

2018-03-07 Thread Ross Zwisler
Add an API for getting the numa node of a given region and add a numa_node field to the "ndctl list" region output. Signed-off-by: Ross Zwisler --- ndctl/lib/libndctl.c | 13 + ndctl/lib/libndctl.sym | 1 + ndctl/libndctl.h | 1 + ndctl/list.c