From: Lai Siyao Date: Mon, 2 Sep 2024 02:21:14 +0000 (-0400) Subject: LU-18092 test: skip sanity-lfsck read check X-Git-Tag: 2.15.91~32 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F24%2F56224%2F2;p=fs%2Flustre-release.git LU-18092 test: skip sanity-lfsck read check On some new kernels read on foreign layout doesn't fail yet, skip read failure check in sanity-lfsck test_38. Test-Parameters: trivial testlist=sanity-lfsck env=ONLY=38,ONLY_REPEAT=30 Signed-off-by: Lai Siyao Change-Id: Ied10a95db217c58383a4082f0bca11c7b47e3276 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56224 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Qian Yingjin Reviewed-by: Alex Deiter Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index 971fdbe..f35c93c 100755 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -6002,8 +6002,9 @@ test_38() $LFS setstripe -c 2 $DIR/$tdir/$tfile && error "$DIR/$tdir/$tfile: setstripe should fail" - # R/W should fail - cat $DIR/$tdir/$tfile && error "$DIR/$tdir/$tfile: read should fail" + # R/W should fail, but filemap fix v6.2-rc4-61-g5956592ce337 may be + # missing in some kernels, skip read failure check + cat $DIR/$tdir/$tfile cat /etc/passwd > $DIR/$tdir/$tfile && error "$DIR/$tdir/$tfile: write should fail"