Whamcloud - gitweb
LU-16823 lustre: test if large nid is support 98/53398/2
authorJames Simmons <jsimmons@infradead.org>
Sun, 10 Dec 2023 14:50:43 +0000 (09:50 -0500)
committerOleg Drokin <green@whamcloud.com>
Wed, 3 Jan 2024 03:03:40 +0000 (03:03 +0000)
commit165cf78ab54e6e8d172f999940c62afabc043cd5
treeb65b28ea290299fbf67ac29dd225ede659643ddc
parentef2555d7af21bd35756805b13e6b458f56cecf54
LU-16823 lustre: test if large nid is support

Update all LNetGetId() calls to use large NIDs if the connect
flags report large NID support. For the case of lmv_setup()
we update setting qos_rr_index, to avoid the thundering herd,
using nidhash().

Change-Id: I80fda9454f154e27fbc75abb1899c0ccca03097b
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/53398
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_lib.c
lustre/lmv/lmv_obd.c