Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ndctl: support machines without numa #9

Closed
wants to merge 1 commit into from
Closed

Conversation

ddompe
Copy link
Contributor

@ddompe ddompe commented Jan 4, 2017

Currently when using ndctl in machines that doesn't have numa, the ndctl command fails because it fails to find the numa_node attribute in syses

@djbw
Copy link
Member

djbw commented Jan 5, 2017

Reworked patch:

https://patchwork.kernel.org/patch/9498091/

@ddompe
Copy link
Contributor Author

ddompe commented Jan 5, 2017 via email

@djbw djbw closed this Jan 5, 2017
djbw pushed a commit that referenced this pull request Jan 5, 2017
Currently when using ndctl in machines that do not have numa, the ndctl
command fails because it fails to find the numa_node attribute in
systems.

Just assume the default, zero, in these cases rather than fail.

Link: #9
Signed-off-by: Diego Dompe <dompe@hpe.com>
[djbw: minor style fixups]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
djbw pushed a commit that referenced this pull request Jan 5, 2017
Currently when using ndctl with kernels compiled with CONFIG_NUMA=n,
the ndctl command fails because it fails to find the numa_node attribute
in systems.

Just assume the default, zero, in these cases rather than fail.

Link: #9
Signed-off-by: Diego Dompe <dompe@hpe.com>
[djbw: minor style fixups]
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants