Whamcloud - gitweb
LU-10391 nrs: use struct lnet_nid for nrs_crrn_hashfn() 99/53399/4
authorJames Simmons <jsimmons@infradead.org>
Sun, 10 Dec 2023 15:10:53 +0000 (10:10 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Feb 2024 06:59:38 +0000 (06:59 +0000)
commit427c11dc334a9285026d68150256298c91e83cc6
treec6e8c6d1c76d41f4420b8ae78bb8fb3d41c035c1
parent9856b5e19dac4913f1b369bfce1a891a6263a0fb
LU-10391 nrs: use struct lnet_nid for nrs_crrn_hashfn()

In the move to large NIDs nrs_crrn_hashfn() was missed. Update
the hash value generated to use nidhash() since our value
is much larger then 64 bits of lnet_nid_t.

Test-Parameters:trivial testlist=sanityn envdefinitions=ONLY=77b
Fixes: 36a199db2b ("LU-10391 ptlrpc: change cc_nid in nrs to be struct lnet_nid")
Change-Id: I19d7150c773db4755b3b8a18791f1411e13fe2b3
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53399
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Nikitas Angelinas <nikitas.angelinas@hpe.com>
Reviewed-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/nrs_crr.c