The oldest supported client kernel is el7.9 3.10.x, and even that
is old, so no need to keep checks for 2.6.x kernel versions around.
Test-Parameters: trivial testlist=replay-dual
Test-Parameters: testlist=replay-single
Test-Parameters: testlist=sanity-flr env=ONLY=50d
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0db781c048334e6ef6df102b100d29e13c64fd25
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50814
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
# Exception is the test which need two separate nodes
CLIENT2=${CLIENT2:-$CLIENT1}
-# LU-482 Avert LVM and VM inability to flush caches in pre .33 kernels
-if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then
- sync
- do_facet $SINGLEMDS "sync; sleep 10; sync; sleep 10; sync"
-fi
-
force_new_seq_all
LU482_FAILED=$(mktemp -u $TMP/$TESTSUITE.lu482.XXXXXX)
mkdir -p $DIR
-# LU-482 Avert LVM and VM inability to flush caches in pre .33 kernels
-if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then
- sync
- do_facet $SINGLEMDS sync
-fi
-
force_new_seq_all
test_0() {
assert_DIR
rm -rf $DIR/[df][0-9]* $DIR/f.$TESTSUITE.*
-# LU-482 Avert LVM and VM inability to flush caches in pre .33 kernels
-if [ $LINUX_VERSION_CODE -lt $(version_code 2.6.33) ]; then
- sync
- do_facet $SINGLEMDS sync
-fi
-
force_new_seq_all
test_0a() { # was test_0
test_50d() {
$LCTL get_param osc.*.import | grep -q 'connect_flags:.*seek' ||
skip "OST does not support SEEK_HOLE"
- (( $LINUX_VERSION_CODE > $(version_code 3.0.0) )) ||
- skip "client kernel does not support SEEK_HOLE"
[ "$FSTYPE" != "zfs" ] ||
skip "lseek for ZFS is not accurate if obj is not committed"