Since btrfs doesn't maintain a list of badblocks, I'm looking for a work-around at a lower layer.
(I'm mining burstcoin and don't mind losing a few blocks here and there.)
It seems that LVM doesn't maintain a badblocks list also.
There is a ingenious work-around with dmsetup: creating a table avoiding current bad blocks with an unallocated pool of spare good blocks to fill in for bad ones as they occur. However, I want something more set-and-forget.
This btrfs mailing list post suggested it may be possible to use btrfs over mdadm 3.1+ (which supports badblocks) with RAID0.
How would one use mdadm with the intent of providing a badblocks "layer"?