News for hackers. Stuff that matters.
Re:Btrfs on Zoned Block Devices by josephg on Thursday April 22, 2021 @08:21AM (#26901893)
It would be interesting to take each of these filesystems in a simulated environment and zero out stripes of data to see what it would take to kill the disk. All of these fancy filesystems are supposed to have redundancy and error detection in their core structures. But I wonder how well that’s tested - if you simulate single block read failures, are there any blocks that would totally corrupt btrfs or zfs? How about adjacent block pairs?

Seems like a pretty easy test to run and if it found problems, they’d be well worth fixing. (And you could do the test itself pretty efficiently on a ramdisk).

Re:Btrfs on Zoned Block Devices by kasabali on Thursday April 22, 2021 @08:33AM (#26901992)
Re:Btrfs on Zoned Block Devices by magicalhippo on Thursday April 22, 2021 @10:31AM (#26903175)
The ZFS project has a test suite[1], and as far as I can determine, nuking data is part of it. See for example the zraid_test tool[2], which seems to do what you suggest.

[1]: https://github.com/openzfs/zfs/tree/master/tests/zfs-tests

[2]: https://github.com/openzfs/zfs/tree/master/cmd/raidz_test (run_rec_check_impl etc)