Whamcloud - gitweb
LU-9859 libcfs: migrate hash table to obdclass 45/57945/5
authorJames Simmons <jsimmons@infradead.org>
Mon, 3 Feb 2025 17:07:27 +0000 (12:07 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 28 Feb 2025 08:14:37 +0000 (08:14 +0000)
commit145e315b0eefbbfd9ec0ded44560c02aa37877e5
treef381f2c53db558435049d0f5436df55f1655b4cd
parent5d37a234db7269957ae40ba599452b220b3f8106
LU-9859 libcfs: migrate hash table to obdclass

The lustre specific hash is only used by the Lustre layer so it
doesn't make sense to keep it in libcfs. Move the hash code to
obdclass. Once ldlm resource hashtable moves to rhashtabble this
be server only code.

Test-Parameters: trivial
Change-Id: I676f6a3decf17e0e90cd747ad4bb4c4d16a52a30
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57945
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
23 files changed:
libcfs/include/libcfs/Makefile.am
libcfs/include/libcfs/libcfs.h
libcfs/libcfs/Makefile.in
libcfs/libcfs/module.c
lustre/include/Makefile.am
lustre/include/cfs_hash.h [moved from libcfs/include/libcfs/libcfs_hash.h with 99% similarity]
lustre/include/lustre_dlm.h
lustre/include/lustre_osc.h
lustre/include/obd_class.h
lustre/mdt/mdt_hsm_cdt_actions.c
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/mdt/mdt_internal.h
lustre/obdclass/Makefile.in
lustre/obdclass/class_obd.c
lustre/obdclass/genops.c
lustre/obdclass/hash.c [moved from libcfs/libcfs/hash.c with 99% similarity]
lustre/obdclass/jobid.c
lustre/obdclass/lprocfs_status_server.c
lustre/obdclass/obd_config.c
lustre/ptlrpc/nodemap_handler.c
lustre/ptlrpc/nodemap_internal.h
lustre/ptlrpc/nrs_tbf.c
lustre/quota/lquota_internal.h