dmsetup remove_all
wipefs -a --force /dev/sda
mkfs -t btrfs /dev/sda
mkdir -p /fs/sda
mount -t btrfs /dev/sda /fs/sda

for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
do
	echo performance > $file
done

echo '[global]
bs=4k
ioengine=sync
iodepth=32
size=53687091200
direct=0
runtime=300
invalidate=1
fallocate=posix
group_reporting

[task_0]
rw=randwrite
directory=/fs/sda
numjobs=8' | fio --output-format=json -