Whamcloud - gitweb
LU-12597 tests: remove comma_list for MDTs part 8 26/58026/3
authorAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Oct 2024 21:56:10 +0000 (15:56 -0600)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Apr 2025 20:43:02 +0000 (20:43 +0000)
commit5831fd02bf249c9af71341d7d5e0f516feb51362
treeb63ed3c6552fe35aa1f5189467a7a8f27bde090d
parent218cce8b70e562c8bcdd4833e10e9f0da594c4a6
LU-12597 tests: remove comma_list for MDTs part 8

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: I38509872350987564ca560ad93fdaba0443ebbe5
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58026
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Deiter <adeiter@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
lustre/tests/sanity.sh