Whamcloud - gitweb
LU-11648 mgs: Create white list for CONFIGS directory files 71/57271/3
authorArtem Blagodarenko <ablagodarenko@ddn.com>
Tue, 3 Dec 2024 10:52:04 +0000 (05:52 -0500)
committerOleg Drokin <green@whamcloud.com>
Thu, 2 Jan 2025 20:51:10 +0000 (20:51 +0000)
commit0fe756d0f4abd773e2a2d433103a8ca393af7f5a
tree7133e289d234b51248de06bea0089ca3dbd266b4
parent5868ad233e5748d561a22ffdb31fc6c76af174e2
LU-11648 mgs: Create white list for CONFIGS directory files

Not all files that are stored in CONFIGS directory should
be processed. For example there are ".bak" files which
created during change_nids operation and used to store
non-modified copy. Currently blacklist is used to process
CONFIGS directory (".bak"s are excluded), but using
whitelist looks more robust.

These files(patterns) should be in the white list:

*-client
*-MDT????
*-OST????
mountdata
nodemap
params
sptlrpc

Test-Parameters: testlist=conf-sanity
Change-Id: I34871fa11d50941450233053446c6c41a1f83048
Signed-off-by: Artem Blagodarenko <ablagodarenko@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57271
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sergey Cheremencev <scherementsev@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_object.h
lustre/mgs/mgs_llog.c