Whamcloud - gitweb
LU-15595 tests: Router test interop check and aarch fix 46/51546/3
authorChris Horn <chris.horn@hpe.com>
Wed, 14 Sep 2022 01:23:37 +0000 (20:23 -0500)
committerOleg Drokin <green@whamcloud.com>
Sun, 16 Jun 2024 03:34:43 +0000 (03:34 +0000)
commita3200ab63ad83241bf5383c9be750c42bf104239
tree4f7e808a2f32035cc38deecf9dc24fac18f019b8
parent89378cc41cd96c63c4906217a63f282c23beaa75
LU-15595 tests: Router test interop check and aarch fix

setup_router_test() executes load_lnet() on remote nodes, but
this function was only added in 2.15. Add a version check for it.

Enabling routing may fail on nodes with small amount of memory (like
aarch config). Define small number of router buffers to work around
this issue. Modify the functions which calculate the number of buffers
to allow small sizes to be specified via parameters.

Lustre-change: https://review.whamcloud.com/48578
Lustre-commit: 1aba6b0d9b661d3699cbd4624e9db334a13fc647

Test-Parameters: trivial testlist=sanity-lnet serverversion=2.12.9
Test-Parameters: testgroup=review-ldiskfs-arm testlist=sanity-lnet
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: If0b76747fe09e883546f18da9f3322c72263e29d
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Signed-off-by: Etienne AUJAMES <eaujames@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51546
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
lnet/lnet/router.c
lustre/tests/sanity-lnet.sh