Whamcloud - gitweb
LU-8130 nrs: convert NRS ORR/TRR to rhashtable 13/40113/24
authorJames Simmons <jsimmons@infradead.org>
Tue, 25 Jul 2023 18:14:03 +0000 (14:14 -0400)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Aug 2023 05:35:30 +0000 (05:35 +0000)
commit42bf5f78ba23ed5a7a908c921a5d8ded7544a315
tree0bcfe8b6f1769beba0018f41493af3b9b7e2829e
parent778791dd7da107710c2311935a24cfd7e7a5fd85
LU-8130 nrs: convert NRS ORR/TRR to rhashtable

Move away from the cfs hash implementation to rhashtable
for NRS ORR handling. Since rhashtable is lockless it
should also increase performance. For the NRS TRR handling
we can use Xarray since its based on OST index which are
sequential which will give better performance than an hashtable.
TRR entries are added to the Xarray but not removed until the
Xarray is destroyed.

Test-Parameters: testlist=sanityn env=ONLY=77c+77d,ONLY_REPEAT=100
Change-Id: I5206a7586d4b4c8991b7163fd9253f017e6d3969
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/40113
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
lustre/include/lustre_compat.h
lustre/include/lustre_nrs_orr.h
lustre/ptlrpc/nrs_orr.c