summaryrefslogtreecommitdiff
path: root/tests/fs/bcachefs/compat.ktest
blob: a1f67b34ee1f2e1d5cc4acb2a2d80857998a3585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

. $(dirname $(readlink -e "${BASH_SOURCE[0]}"))/bcachefs-test-libs.sh

config-image /home/kent/dead-filesystems/lordkitsuna-backpointers-upgrade/dump.0
config-image /home/kent/dead-filesystems/lordkitsuna-backpointers-upgrade/dump.1
config-image /home/kent/dead-filesystems/lordkitsuna-backpointers-upgrade/dump.2
config-image /home/kent/dead-filesystems/lordkitsuna-backpointers-upgrade/dump.3

config-timeout $(stress_timeout)

test_image()
{
    mount -t bcachefs -o fsck,fix_errors /dev/sdb:/dev/sdc:/dev/sdd:/dev/sde /mnt
    run_fio_randrw
    umount /mnt
}

main "$@"