The fail_loc used in sanity test_905 does not exist in older OSTs.
Skip this subtest for older OSTs.
Fixes:
566edb8c43 ("LU-8582 target: send error reply on wrong opcode")
Test-Parameters: trivial testlist=sanity serverversion=2.12.9 env=ONLY=905
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8fa50ec0f66afd9f24d562e0be57a416c04d8ba8
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51568
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Sarah Liu <sarah@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
# LU-8582
test_905() {
- (( $OST1_VERSION >= $(version_code 2.8.54) )) ||
- skip "lustre < 2.8.54 does not support ladvise"
+ (( $OST1_VERSION >= $(version_code 2.15.50.220) )) ||
+ skip "need OST version >= 2.15.50.220 for fail_loc"
remote_ost_nodsh && skip "remote OST with nodsh"
$LFS setstripe -c -1 -i 0 $DIR/$tfile || error "setstripe failed"