#!/usr/bin/env bash . $(dirname $(readlink -e ${BASH_SOURCE[0]}))/bcache-test-libs.sh config-cache 512M config-bucket-size 64k config-block-size 4k config-volume 1400M config-timeout $(stress_timeout) test_main() { setup_tracing 'bcache:*' setup_bcache run_antagonist # Should fail since volume is too big ! run_fio echo 300M > /sys/fs/bcache/*/volume0/size run_fio stop_bcache }