Whamcloud - gitweb
LU-16232 scripts: clean specific MDTs update llogs 58/50558/13
authorMikhail Pershin <mpershin@whamcloud.com>
Thu, 6 Apr 2023 08:15:50 +0000 (11:15 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 May 2023 07:07:56 +0000 (07:07 +0000)
commit8546628c23b1ba1785e42ec9b1bc4b77acced5c6
tree2a44121e6cf032763254934e14a1d6153214b907
parent3999627447c01eebd96c14cc5cf8bba93f89a66b
LU-16232 scripts: clean specific MDTs update llogs

Modify remove_updatelog script as following:
- avoid bash-specific process substitution for compatibility
- add '-m <index,...> option to select only specific MDTs to
  process through their update llogs only
- add test to check script actions

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: Icd935d5f4964d364f38b4962355ef8a5e679dbb3
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50558
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.com>
lustre/scripts/remove_updatelog
lustre/tests/conf-sanity.sh