Whamcloud - gitweb
LU-18687 compat: move hash/rhash to lustre_compat 57/58157/18
authorTimothy Day <timday@amazon.com>
Sat, 22 Feb 2025 01:30:05 +0000 (20:30 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 7 May 2025 21:12:27 +0000 (21:12 +0000)
commit2538e44c7b035093d27b8b3e40e6c2ed17f3238f
tree8173505e5e19515dab668989cfe2334bfce67d2a
parentfd2ea1e91120531322e3206057aafd526d4dfade
LU-18687 compat: move hash/rhash to lustre_compat

Migrate the backported hash and rhashtable code to
lustre_compat.

The backported linux-hash.c code is only needed for
CentOS 7.5, so drop it.

Eventually, all of the Lustre/LNet compatability code
will live in lustre_compat - maintaining a clear
separation from the functional code in Lustre and LNet.

Test-Parameters: trivial
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I73add2b5c2ad8ccc46c252f1066c7f20dc12cc39
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58157
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
20 files changed:
include/lustre_compat/linux/hash.h [new file with mode: 0644]
include/lustre_compat/linux/rhashtable.h [moved from libcfs/include/libcfs/linux/linux-hash.h with 84% similarity]
include/lustre_compat/linux/stringhash.h [new file with mode: 0644]
libcfs/include/libcfs/libcfs.h
libcfs/include/libcfs/linux/Makefile.am
libcfs/libcfs/Makefile.in
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-hash.c [deleted file]
libcfs/libcfs/linux/linux-wait.c
lnet/include/lnet/lib-lnet.h
lustre/include/cfs_hash.h
lustre/include/lustre_fid.h
lustre/include/lustre_nrs_crr.h
lustre/ldlm/ldlm_resource.c
lustre/lmv/lmv_obd.c
lustre/lod/lod_pool.c
lustre/lov/lov_pool.c
lustre/obdclass/lu_object.c
lustre/ptlrpc/connection.c
lustre/ptlrpc/gss/gss_svc_upcall.c