From: Bobi Jam Date: Mon, 14 Oct 2024 04:05:13 +0000 (+0800) Subject: LU-18319 tests: skip sanity-flr/test_50a for old MDS X-Git-Tag: 2.16.0-RC3~5 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F56676%2F3;p=fs%2Flustre-release.git LU-18319 tests: skip sanity-flr/test_50a for old MDS Skip sanity-flr test_50a for old server because of changes that were made on master from LU-13805 to reject unaligned DIO. Test-Parameters: trivial Fixes: 88d324be08 ("LU-13805 osd: Implement unaligned DIO connect flag") Signed-off-by: Bobi Jam Change-Id: I1bbd7528de458b4cca48c466203fc5cdd0ca4e8e Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56676 Reviewed-by: Andreas Dilger Reviewed-by: Colin Faber Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- diff --git a/lustre/tests/sanity-flr.sh b/lustre/tests/sanity-flr.sh index 25fb61d..3380e43 100644 --- a/lustre/tests/sanity-flr.sh +++ b/lustre/tests/sanity-flr.sh @@ -2817,6 +2817,8 @@ test_50a() { skip "OST does not support SEEK_HOLE" [ "$FSTYPE" != "zfs" ] || skip "lseek for ZFS is not accurate if obj is not committed" + (( OST1_VERSION >= $(version_code 2.15.58) )) || + skip "Need OST version at least 2.15.58 for unaligned DIO" local file=$DIR/$tdir/$tfile local offset