Whamcloud - gitweb
LU-18391 lnet: Revert nid hash for gnilnd 71/56771/2
authorChris Horn <chris.horn@hpe.com>
Sat, 24 Jun 2023 12:12:08 +0000 (07:12 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 2 Dec 2024 05:54:31 +0000 (05:54 +0000)
commit67c64ad36710e2876cd5ccba463b6bfc0ba419f4
tree73b7d132f6bbe06d3207b623162c8fd63fd2b3da
parent7e457159a097d69e76097c55c75546163a44befa
LU-18391 lnet: Revert nid hash for gnilnd

Using hash_long() method for gnilnd apparently results in performance
degradation. It is not understood why this is, but for now revert to
the sum-by-multiplication of nid bytes method for gnilnd.

Test-Parameters: trivial
HPE-bug-id: LUS-11675
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I781658afb41e4c528d0d6d3aa3f73cbb928b9478
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56771
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Petros Koutoupis <petros.koutoupis@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/api-ni.c