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
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
> > >
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.
>
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
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
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;
> >
> > +
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 |
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
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
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
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
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
12 matches
Mail list logo