Whamcloud - gitweb
LU-18319 tests: skip sanity-flr/test_50a for old MDS 76/56676/3
authorBobi Jam <bobijam@whamcloud.com>
Mon, 14 Oct 2024 04:05:13 +0000 (12:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 18 Oct 2024 18:44:31 +0000 (18:44 +0000)
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 <bobijam@whamcloud.com>
Change-Id: I1bbd7528de458b4cca48c466203fc5cdd0ca4e8e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56676
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Colin Faber <cfaber@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-flr.sh

index 25fb61d..3380e43 100644 (file)
@@ -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