Whamcloud - gitweb
LU-12597 tests: remove comma_list for MDTs part 1 83/57183/3
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 9 Mar 2024 21:49:55 +0000 (14:49 -0700)
committerOleg Drokin <green@whamcloud.com>
Sun, 2 Feb 2025 06:27:00 +0000 (06:27 +0000)
commitf2642a2947d1fc109c70aadbc86c6510df9b8a34
tree405deaddee17acbf58855010ab460bd316a4e955
parenta2d7e81c01e913d7d4401ab317b2b71652753576
LU-12597 tests: remove comma_list for MDTs part 1

Most places that use $(mdts_nodes) also call $(comma_list ...) at the
same time.  Rather than returning a space-separated list of nodes from
those functions, instead return a comma-separated list suitable for
use by do_nodes() and similar functions calling pdsh internally.

This avoids the repeated calls to comma_list() and makes the tests
easier to read.  Also, since comma_list() internally deduplicates the
node list, it isn't necessary to do that in the callers.  A few tests
need to convert comma-separated osts_nodes into space-separated nodes.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I31509872350987564ca560ad93fdaba0443ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57183
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/conf-sanity.sh
lustre/tests/dom-performance.sh
lustre/tests/lfsck-performance.sh