Skip checks added at the end of sanity test_65n for MDS versions
that do not have the new layout inheritance behavior.
Test-Parameters: trivial env=ONLY=65n testlist=sanity serverversion=2.14
Fixes:
6e59408f1a ("LU-12130 lod: make pool inheritance policy more consistent")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Ic7c36801ec6e906d631bc4fc234f1f2b77e9f7dc
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56786
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
local lmv_count=$($LFS getdirstripe -c $MOUNT/$tdir-6)
[ $lmv_count -eq 2 ] || error "$tdir-6 stripe count $lmv_count"
+ (( $MDS1_VERSION >= $(version_code v2_14_57-22-g6e59408f1a) )) ||
+ skip "Need MDS >= 2.14.57.22 for proper pool inheritance"
# $dir4 layout includes pool
$LFS setstripe -S $((new_def_stripe_size * 2)) $dir4
[[ "$pool" = $($LFS getstripe -p -d $dir4) ]] ||