Skip to content

staging: lustre: libcfs: SMP rework

NeilBrown lustre-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest19 of 26 patches 0 repliesNew

19 of 26 patches are in this archive. The cover letter announces 26.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/26staging: lustre: libcfs: properly handle failure cases in SMP code+0 -01 reply
5/26staging: lustre: libcfs: remove excess space+0 -01 reply
7/26staging: lustre: libcfs: NUMA support+0 -02 replies
7/26staging: lustre: libcfs: NUMA support+0 -01 reply
7/26staging: lustre: libcfs: NUMA support+0 -03 replies
7/26staging: lustre: libcfs: NUMA support+0 -03 replies
7/26staging: lustre: libcfs: NUMA support+0 -00 replies
7/26staging: lustre: libcfs: NUMA support+0 -01 reply
7/26staging: lustre: libcfs: NUMA support+0 -02 replies
8/26staging: lustre: libcfs: add cpu distance handling+0 -01 reply
8/26staging: lustre: libcfs: add cpu distance handling+0 -00 replies
13/26staging: lustre: libcfs: use int type for CPT identification.+0 -01 reply
19/26staging: lustre: libcfs: report NUMA node instead of just node+0 -01 reply
19/26staging: lustre: libcfs: report NUMA node instead of just node+0 -01 reply
19/26staging: lustre: libcfs: report NUMA node instead of just node+0 -00 replies
23/26staging: lustre: ptlrpc: use current CPU instead of hardcoded 0+0 -01 reply
23/26staging: lustre: ptlrpc: use current CPU instead of hardcoded 0+0 -00 replies
24/26staging: lustre: libcfs: restore debugfs table reporting for UMP+0 -00 replies
25/26staging: lustre: libcfs: make cfs_cpt_tab a static structure+0 -00 replies

Reviews trailers per patch

7 of 19 patches have a Reviewed-by or Acked-by.

PatchOlaf WeberDoug Oucharek
3/26
5/26
7/26R-b R-b
7/26R-b R-b
7/26R-b R-b
7/26R-b R-b
7/26R-b R-b
7/26R-b R-b
7/26R-b R-b
8/26
8/26
13/26
19/26
19/26
19/26
23/26
23/26
24/26
25/26

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [lustre-devel] [PATCH v3 00/26] staging: lustre: libcfs: SMP rework
Quoted 8 lines · James Simmons

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.

Quoted 5 lines

This is the 3rd version of this patch set with the first two submitted to the staging list. This latest patchset is identical to the 2nd one expect that the UMP support has been moved to the last patches in this collection. The approach to support UMP also has changed with using static initialization to greatly simplify the code.

Thanks for these.
Apart from some patches that I've rejected and some that I've modified, these should appear in my lustre-testing branch in the next 24 hours. I expect them to migrate to my lustre branch next Monday if no problems surface.

Thanks,
NeilBrown

Quoted 33 lines

Amir Shehata (8):
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 (14):
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: 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 code
staging: lustre: libcfs: rework CPU pattern parsing code
staging: lustre: libcfs: change CPT estimate algorithm
staging: lustre: ptlrpc: use current CPU instead of hardcoded 0

James Simmons (4):
staging: lustre: libcfs: properly handle failure cases in SMP code
staging: lustre: libcfs: restore debugfs table reporting for UMP
staging: lustre: libcfs: make cfs_cpt_tab a static structure
staging: lustre: libcfs: restore UMP support

Quoted 13 lines
 .../lustre/include/linux/libcfs/libcfs_cpu.h       |  203 ++--
 drivers/staging/lustre/lnet/libcfs/libcfs_cpu.c    | 1020 +++++++++++---------
 drivers/staging/lustre/lnet/libcfs/module.c        |   52 +-
 drivers/staging/lustre/lnet/lnet/api-ni.c          |    4 +-
 drivers/staging/lustre/lnet/lnet/lib-msg.c         |    2 +
 drivers/staging/lustre/lnet/selftest/framework.c   |    2 +-
 drivers/staging/lustre/lustre/ptlrpc/client.c      |    4 +-
 drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c     |   10 +-
 drivers/staging/lustre/lustre/ptlrpc/service.c     |   15 +-
 9 files changed, 750 insertions(+), 562 deletions(-)
Signature · 1 line
1.8.3.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20180625/50229983/attachment-0001.sig>