From 5751da80ecd57dfae9ad3c080b8c984605da47ec Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Thu, 6 Feb 2025 16:09:14 +0300 Subject: [PATCH] LU-17763 tests: use urandom in sanity/66 as zfs-2.2.6 compresses data by default and this breaks the test using /dev/zero as a source. Test-Parameters: trivial Test-Parameters: fstype=zfs env=ONLY=66 testlist=sanity Signed-off-by: Alex Zhuravlev Change-Id: I6853c693e7cb560ae737025507e5377da82c787b Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57987 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Timothy Day Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/sanity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c4c008f..133458c 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -11244,7 +11244,7 @@ test_66() { [ $PARALLEL == "yes" ] && skip "skip parallel run" local COUNT=${COUNT:-8} - dd if=/dev/zero of=$DIR/f66 bs=1k count=$COUNT + dd if=/dev/urandom of=$DIR/f66 bs=1k count=$COUNT sync; sync_all_data; sync; sync_all_data cancel_lru_locks osc local BLOCKS=$(ls -s --block-size=1k $DIR/f66 | awk '{ print $1 }') -- 1.8.3.1