Whamcloud - gitweb
LU-15595 tests: Router test interop check and aarch fix 78/48578/9
authorChris Horn <chris.horn@hpe.com>
Wed, 14 Sep 2022 01:23:37 +0000 (20:23 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 10 Oct 2022 05:38:12 +0000 (05:38 +0000)
commit1aba6b0d9b661d3699cbd4624e9db334a13fc647
treedbf68a95d60209e3615c4c2f33ff46f335c655e1
parent3630e1eaf9db562a1de707762cd649db815459c8
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.

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-on: https://review.whamcloud.com/c/fs/lustre-release/+/48578
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/lnet/router.c
lustre/tests/sanity-lnet.sh