Commit 37e0150f authored by Ondrej Kozina's avatar Ondrej Kozina Committed by Milan Broz

Do not use fallocate in blockwise tests.

fs driver may skip some sanity checks if it's aware the content
of file is uninitialized.

Fixes warnings for xfs in kernel 4.19+
parent 294e4cbc
......@@ -71,7 +71,7 @@ add_device() {
}
falloc() {
fallocate -l"$1"m $2 2>/dev/null || dd if=/dev/zero of=$2 bs=1M count=$1 2> /dev/null
dd if=/dev/zero of=$2 bs=1M count=$1 2> /dev/null
}
run_all_in_fs() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment