You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Misc kernel panics when running fio against a brd-backed pool (see reproducer). 100% reproducible. Note that we're not using O_DIRECT here.
Describe how to reproduce the problem
Reproducer is below. It takes just a few seconds of running to panic. Caution - this creates 100GB ramdisk as-is, so please adjust values to your system.
#!/bin/bash
devs=1
size=$((100000000/$devs))
recordsize=4k
jobs=32
modprobe brd rd_nr=$devs rd_size=$sizeforiin`seq 0 $(($devs-1))`;do
alldevs="$alldevs /dev/ram$i"done
sudo ./zpool create -o ashift=12 tank $alldevs
sudo ./zfs set compression=off tank
sudo ./zfs set recordsize=$recordsize tank
sudo ./zfs set atime=off tank
sudo ./zpool get ashift tank
fio --name=fiotest --filename=/tank/test1 --size=50Gb --rw=write --bs=$recordsize --direct=0 --numjobs=$jobs --ioengine=libaio --iodepth=128 --group_reporting --runtime=20 --startdelay=1
sudo ./zpool destroy tank
sudo rmmod brd
Include any warning/errors/backtraces from the system logs
System information
Describe the problem you're observing
Misc kernel panics when running
fio
against a brd-backed pool (see reproducer). 100% reproducible. Note that we're not using O_DIRECT here.Describe how to reproduce the problem
Reproducer is below. It takes just a few seconds of running to panic. Caution - this creates 100GB ramdisk as-is, so please adjust values to your system.
Include any warning/errors/backtraces from the system logs
Example 1:
Example 2:
The text was updated successfully, but these errors were encountered: