Whamcloud - gitweb
LU-8130 libcfs: prepare rhashtable support 02/32102/27
authorJames Simmons <uja.ornl@yahoo.com>
Sun, 19 Aug 2018 13:25:52 +0000 (09:25 -0400)
committerOleg Drokin <green@whamcloud.com>
Tue, 4 Sep 2018 03:49:00 +0000 (03:49 +0000)
commitbef1069506c38e6d8ebdb4393cccb5a33978a61e
tree9886f07a0d3699c479a1cafe0f574da311f3ab57
parent3f2b6d2a7c4ab0bfcca0bcbb914ed3fdff1b1e32
LU-8130 libcfs: prepare rhashtable support

Linux has a resizeable hashtable implementation in lib,
so we should use that instead of having one in libcfs.
In the process we gain lockless lookup which should be
a performance boost. All modern distributions Lustre
support has rhashtable support but a few pieces are
missing for systems running a 4.4 kernel. The other
target platforms have the full implementation we need.

Test-Parameters: trivial

Change-Id: I63d5b7dae9d52eed12dbefed8ca6062af33efd30
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/32102
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
libcfs/autoconf/lustre-libcfs.m4
libcfs/include/libcfs/linux/Makefile.am
libcfs/include/libcfs/linux/linux-hash.h [new file with mode: 0644]
libcfs/libcfs/Makefile.in
libcfs/libcfs/linux/Makefile.am
libcfs/libcfs/linux/linux-hash.c [new file with mode: 0644]