If you running newer clients with older servers (2.15.3) then
recovery-small test 146 will fail since the old servers lack
the new sysfs file eviction_count.
Fixes:
3c69d46e176 ("LU-14111 obdclass: count eviction per obd_device")
Test-Parameters: trivial testlist=recovery-small env=ONLY=146 mdsversion=2.15.3
Change-Id: I53f6dabd305ec920e8de1d9fde407b2f2c15ba69
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52098
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
run_test 145 "connect mdtlovs and process update logs after recovery expire"
test_146() {
+ (( $MDS1_VERSION >= $(version_code 2.15.54.6) )) ||
+ skip "Need MDS >= v2_15_54-6-g3c69d46e17 for eviction_count"
+
local prev_count=$(do_facet $SINGLEMDS \
$LCTL get_param -n "mdt.${mds1_svc}.eviction_count")