[PATCH 00/25] staging: lustre: libcfs: SMP rework

From: James Simmons
Date: Mon Apr 16 2018 - 00:10:23 EST


Recently lustre support has been expanded to extreme machines with as
many as a 1000+ cores. On the other end lustre also has been ported
to platforms like ARM and KNL which have uniquie NUMA and core setup.
For example some devices exist that have NUMA nodes with no cores.
With these new platforms the limitations of the Lustre's SMP code
came to light so a lot of work was needed. This resulted in this
patch set which has been tested on these platforms.

Amir Shehata (9):
staging: lustre: libcfs: implement cfs_cpt_cpumask for UMP case
staging: lustre: libcfs: replace MAX_NUMNODES with nr_node_ids
staging: lustre: libcfs: remove excess space
staging: lustre: libcfs: replace num_possible_cpus() with nr_cpu_ids
staging: lustre: libcfs: NUMA support
staging: lustre: libcfs: add cpu distance handling
staging: lustre: libcfs: use distance in cpu and node handling
staging: lustre: libcfs: provide debugfs files for distance handling
staging: lustre: libcfs: invert error handling for cfs_cpt_table_print

Dmitry Eremin (15):
staging: lustre: libcfs: remove useless CPU partition code
staging: lustre: libcfs: rename variable i to cpu
staging: lustre: libcfs: fix libcfs_cpu coding style
staging: lustre: libcfs: use int type for CPT identification.
staging: lustre: libcfs: rename i to node for cfs_cpt_set_nodemask
staging: lustre: libcfs: rename i to cpu for cfs_cpt_bind
staging: lustre: libcfs: rename cpumask_var_t variables to *_mask
staging: lustre: libcfs: rename goto label in cfs_cpt_table_print
staging: lustre: libcfs: clear up failure patch in cfs_cpt_*_print
staging: lustre: libcfs: update debug messages
staging: lustre: libcfs: make tolerant to offline CPUs and empty NUMA nodes
staging: lustre: libcfs: report NUMA node instead of just node
staging: lustre: libcfs: update debug messages in CPT creation code
staging: lustre: libcfs: rework CPU pattern parsing code
staging: lustre: libcfs: change CPT estimate algorithm

James Simmons (1):
staging: lustre: libcfs: merge UMP and SMP libcfs cpu header code

.../lustre/include/linux/libcfs/libcfs_cpu.h | 135 +--
.../lustre/include/linux/libcfs/linux/libcfs.h | 1 -
.../lustre/include/linux/libcfs/linux/linux-cpu.h | 78 --
drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c | 126 ++-
.../staging/lustre/lnet/libcfs/linux/linux-cpu.c | 912 +++++++++++----------
drivers/staging/lustre/lnet/libcfs/module.c | 53 ++
drivers/staging/lustre/lnet/lnet/lib-msg.c | 2 +
7 files changed, 676 insertions(+), 631 deletions(-)
delete mode 100644 drivers/staging/lustre/include/linux/libcfs/linux/linux-cpu.h

--
1.8.3.1