Whamcloud - gitweb
LU-10391 ptlrpc: switch sptlrpc_rule_set_choose to large nid 02/50102/7
authorMr NeilBrown <neilb@suse.de>
Thu, 26 May 2022 06:20:04 +0000 (16:20 +1000)
committerOleg Drokin <green@whamcloud.com>
Wed, 31 May 2023 19:02:45 +0000 (19:02 +0000)
commit80a4a2ebe0a269d564e13b0931c9852379da86d8
tree7a6f4727970adc84deb314752289820d792ee6db
parent4ccac8297d0a600275f1e04deaad5ff9e1148e4d
LU-10391 ptlrpc: switch sptlrpc_rule_set_choose to large nid

sptlrpc_rule_set_choose() and sptlrpc_target_choose_flavor() now take
a large nid.  Only the net number is needed, so this is quite straight
forward.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Id4e8083d31c0393e2ef748babb6b851501b8d46f
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50102
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_sec.h
lustre/ptlrpc/sec.c
lustre/ptlrpc/sec_config.c
lustre/target/tgt_handler.c