Merge pull request #270 from versity/auke/bdev_autoloading

Avoid block device autoloading warning.
This commit is contained in:
Zach Brown
2025-12-17 11:06:32 -08:00
committed by GitHub
2 changed files with 4 additions and 1 deletions

View File

@@ -170,6 +170,9 @@ t_filter_dmesg()
# some ci test guests are unresponsive # some ci test guests are unresponsive
re="$re|longest quorum heartbeat .* delay" re="$re|longest quorum heartbeat .* delay"
# creating block devices may trigger this
re="$re|block device autoloading is deprecated and will be removed."
egrep -v "($re)" | \ egrep -v "($re)" | \
ignore_harmless_unwind_kasan_stack_oob ignore_harmless_unwind_kasan_stack_oob
} }

View File

@@ -72,7 +72,7 @@ touch $T_D0/dir/file
mkdir $T_D0/dir/dir mkdir $T_D0/dir/dir
ln -s $T_D0/dir/file $T_D0/dir/symlink ln -s $T_D0/dir/file $T_D0/dir/symlink
mknod $T_D0/dir/char c 1 3 # null mknod $T_D0/dir/char c 1 3 # null
mknod $T_D0/dir/block b 7 0 # loop0 mknod $T_D0/dir/block b 42 0 # SAMPLE block dev - nonexistant/demo use only number
for name in $(ls -UA $T_D0/dir | sort); do for name in $(ls -UA $T_D0/dir | sort); do
ino=$(stat -c '%i' $T_D0/dir/$name) ino=$(stat -c '%i' $T_D0/dir/$name)
$GRE $ino | filter_types $GRE $ino | filter_types