lkml.org 
[lkml]   [2018]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 21/25] staging: lustre: libcfs: report NUMA node instead of just node
    Date
    From: Dmitry Eremin <dmitry.eremin@intel.com>

    Reporting "HW nodes" is too generic. It really is reporting
    "HW NUMA nodes". Update the debug message.

    Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
    Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8703
    Reviewed-on: https://review.whamcloud.com/23306
    Reviewed-by: James Simmons <uja.ornl@yahoo.com>
    Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
    Reviewed-by: Patrick Farrell <paf@cray.com>
    Reviewed-by: Olaf Weber <olaf.weber@hpe.com>
    Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
    Signed-off-by: James Simmons <jsimmons@infradead.org>
    ---
    Changelog:

    v1) Initial patch
    v2) Rebased patch. No changes in code from earlier patch

    drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c b/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c
    index 99a9494..0fc102c 100644
    --- a/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c
    +++ b/drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c
    @@ -1138,7 +1138,7 @@ int cfs_cpu_init(void)

    put_online_cpus();

    - LCONSOLE(0, "HW nodes: %d, HW CPU cores: %d, npartitions: %d\n",
    + LCONSOLE(0, "HW NUMA nodes: %d, HW CPU cores: %d, npartitions: %d\n",
    num_online_nodes(), num_online_cpus(),
    cfs_cpt_number(cfs_cpt_tab));
    return 0;
    --
    1.8.3.1
    \
     
     \ /
      Last update: 2018-05-29 16:24    [W:3.313 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site