Whamcloud - gitweb
LU-16861 obdfilter: Exclude quotes when getting NIDs
authorArshad Hussain <arshad.hussain@aeoncomputing.com>
Tue, 9 Jan 2024 06:12:57 +0000 (11:42 +0530)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 16 May 2024 23:58:11 +0000 (23:58 +0000)
commit4bb2b0bf34ed408f42dd6401d18c8d1255d6e91f
treedfd15fcc388a2776294d0f0e6083ff6e5b6fcaee
parente6971f543fc320059eb62e4fe3c7ac196ea155fc
LU-16861 obdfilter: Exclude quotes when getting NIDs

In get_targets(), when getting NIDs the quotes were also included.
Exclude quotes when generating NIDs as they are not required.

Use $LCTL instead of $lctl, and make it also work in Janitor testing.

Lustre-change: https://review.whamcloud.com/53620
Lustre-commit: c265e1c7b045bf1f9e5b2919c282b63086929ab6

Test-Parameters: trivial testlist=obdfilter-survey
Fixes: 9ef9906d7 ("LU-6863 tests: change obdfilter-survey.sh for CLIENTONLY mode")
Signed-off-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Change-Id: I8642539fc6b396f1339e20e4fef8bc78cda2d969
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/55090
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre-iokit/mds-survey/mds-survey
lustre-iokit/obdfilter-survey/iokit-libecho
lustre-iokit/obdfilter-survey/obdfilter-survey
lustre/tests/obdfilter-survey.sh