Whamcloud - gitweb
LU-9859 lnet: move CPT handling to LNet 23/52923/7
authorJames Simmons <jsimmons@infradead.org>
Thu, 29 Feb 2024 02:34:17 +0000 (21:34 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 13 Mar 2024 03:23:12 +0000 (03:23 +0000)
commit7f8cde3b77ada95e8b96dee1996f8d40bd17a538
treefa691f1a8b7c715aa8825a003390cb79be4c8895
parentfd4c531bbb2af5357d55301801c47ae6b979e5dd
LU-9859 lnet: move CPT handling to LNet

The CPT work is used for LNet and ptlrpc which is the Lustre LNet
interface. Move this work there and merge the lib-mem.c code as
well since they both work closely together. Move cpt debugfs
handling from libcfs to lnet. Now all remaining debugfs in libcfs
is for debugging.

Test-Parameters: trivial
Change-Id: I016a90520bd7c6428b45bafff8618bc864e9112b
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52923
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
15 files changed:
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/Makefile.in
libcfs/libcfs/autoMakefile.am
libcfs/libcfs/module.c
lnet/include/lnet/Makefile.am
lnet/include/lnet/lib-cpt.h [moved from libcfs/include/libcfs/libcfs_cpu.h with 97% similarity]
lnet/include/lnet/lib-lnet.h
lnet/lnet/Makefile.in
lnet/lnet/autoMakefile.am
lnet/lnet/lib-cpt.c [moved from libcfs/libcfs/libcfs_cpu.c with 92% similarity]
lnet/lnet/lib-mem.c [deleted file]
lnet/lnet/lnet_debugfs.c [moved from lnet/lnet/router_proc.c with 92% similarity]
lnet/lnet/module.c
lustre/include/obd_support.h