Exciting things cooking in btrfs
I had a closer look at btrfs development today and there are exciting things cooking that I wanted to share:
Western Digital's Johanes Thumshirn is working on stripe-tree aka "actually working RAID5/6". [1] [2]
Facebook's Omar Sandoval is looking into fscrypt encryption. [1] [2]
Facebook's Josef Bacik is working on extent tree v2, which will fix a lot of pain points when using lots of snapshots and/or qgroups (like stalled i/o after deleting snapshots) and has posted first patches to the mailing list. [1] [2]
Posted Nov 5, 2021, 10:15 PM UTC
"actually working RAID5/6"
What does this mean by working? Does it mean performance comparable to RAID10? Or does it mean that it just doesn't break
As in "doesn't hose your fs on surprise power failure".
existing implementation doesnt' need even power failure for completely destroying your data.
Both. The current RAID5/6 implementation in btrfs is the classic way (like you get with mdadm) which doesn't take advantage of COW, while this new implementation will be more or less like ZFS so it won't suffer from the write-hole (among other issues) anymore. As for performance, it'll eliminate the need for read-modify-write if a write is smaller than the stripe size.
Yeah, this what I'd also like to know... as in, regarding the RAID5 implementation in ZFS (which is an *extension* (module), not exactly treated as part of ZFS), is it supposed to bring this to stable? And are we supposed to BEG for the Xigma guys to implement this as default?
We should forget about RAID in the traditional sense and instead look towards FEC.
We already have Reed–Solomon coding in the drive firmware. btrfs is for when the threshold is exceeded or the whole drive dies.
https://en.wikipedia.org/wiki/Hard_disk_drive#Error_rates_and_handling
Or when the disk has firmware bugs.
what is FEC?
Based on the bot's helpful reply I am assuming Forward Error Correction.
FEC may refer to:
More details here: https://en.wikipedia.org/wiki/FEC
This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!
^(opt out) ^(|) ^(delete) ^(|) ^(report/suggest) ^(|) ^(GitHub)
Write Performance and IO/s of a Raid 5 can never be comparable to Raid10.
But it can be much better than the current implementaton.
I'd expect something comparable to ZFS RaidZ1/Z2.
So trash then
I don't think so. It just depends on your use case...
I have lots of servers running pools on ZFS Z1/Z2 and it works well usually.
Usually Lmao Won't catch me using parity RAID in an enterprise