{{{#!highlight sh # Flush caches WRITEBACK_PERCENT=$(cat /sys/block/bcache0/bcache/writeback_percent) sudo echo 0 | sudo tee /sys/block/bcache0/bcache/writeback_percent # Watch this drop to zero watch -d cat /sys/block/bcache0/bcache/cache/bdev0/dirty_data sudo echo WRITEBACK_PERCENT | sudo tee /sys/block/bcache0/bcache/writeback_percent }}} = Other resources = * [[https://wiki.archlinux.org/index.php/Bcache|Bcache at ArchWiki]]