Whamcloud - gitweb
LU-7734 lnet: Fix setting numa range
authorAmir Shehata <amir.shehata@intel.com>
Thu, 12 Jan 2017 21:57:11 +0000 (13:57 -0800)
committerAmir Shehata <amir.shehata@intel.com>
Wed, 25 Jan 2017 03:10:18 +0000 (19:10 -0800)
Call the correct API when setting numa_range.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Test-Parameters: trivial
Change-Id: I1f9f8f1aabc277dff1fddd678cd360a9c49af4a5
Reviewed-on: https://review.whamcloud.com/24861
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Olaf Weber <olaf@sgi.com>
lnet/utils/lnetctl.c

index 2707787..f0a6568 100644 (file)
@@ -229,7 +229,7 @@ static int jt_set_numa(int argc, char **argv)
                return -1;
        }
 
-       rc = lustre_lnet_config_buffers(value, -1, -1, -1, &err_rc);
+       rc = lustre_lnet_config_numa_range(value, -1, &err_rc);
        if (rc != LUSTRE_CFG_RC_NO_ERR)
                cYAML_print_tree2file(stderr, err_rc);