@Thread: Why not combine the planned on-disk format changes with patches that fix raid5/6 and be done with it? Otherwise fixing raid will need another format changeā¦
Announcement
Collapse
No announcement yet.
On-Disk Format Changes Ahead To Improve "Painful" Parts Of Btrfs Design
Collapse
X
-
- Likes 13
-
Originally posted by JustK View Post
If we're breaking backwards-compatibility anyway, let's drop the inferior compression algorithms zlib and lzo, while adding lz4 and bringing zstd up to date. Calling it btrfs2 (see ext2/3/4) is also an option, it even preserves backwards-compatibility.
Edit:
It has already been updated! https://www.phoronix.com/scan.php?pa...For-Linux-5.16Last edited by NobodyXu; 14 November 2021, 03:54 AM.
- Likes 6
Comment
-
Originally posted by kiffmet View Post@Thread: Why not combine the planned on-disk format changes with patches that fix raid5/6 and be done with it? Otherwise fixing raid will need another format changeā¦
- Likes 14
Comment
-
Originally posted by intelfx View PostHonestly I, as a user, don't like where this is going.
This work (well, not specifically this work, but the whole "extent tree v2" effort) is basically destroying the single killer feature of btrfs, that is, the ability to relocate extents at will (i. e. the btrfs balance operation, which leads into RAID reshape/restripe).
When this is done, there will be no practical reason to prefer btrfs to zfs.
- Likes 11
Comment
-
Originally posted by intelfx View PostHonestly I, as a user, don't like where this is going.
This work (well, not specifically this work, but the whole "extent tree v2" effort) is basically destroying the single killer feature of btrfs, that is, the ability to relocate extents at will (i. e. the btrfs balance operation, which leads into RAID reshape/restripe).
When this is done, there will be no practical reason to prefer btrfs to zfs.
What i really do NOT like as much is that this change also introduce a garbage collectors (I hate garbage collectors). Luckily Josef explained that in his videos and I am not sure I fully understand how it was meant to work , but the garbage collector seems to be designed in such a way that it does not risk stalling the system. It will essentially take a bite here and a bite there gradually nibbling its's way through the garbage, so perhaps not as bad as you may think.
What is less clear is if this extent tree v2 thing will somehow positively or negatively affect BTRFS abillity to repair corruption. Not sure if the system will be more or less robust as far as (major) data corruption is concerned with this change. All in all the changes seem to be good.
And for those advocating for btrfs2 : That is a bad idea. This is not a remake of the filesystem, this is evolving the system gradually. Even with the patches that are fairly fresh - btrfs passes (almost) all tests in the test suite. I am sure that the extent tree v2 will be marked as experimental for a while though.
http://www.dirtcellar.net
- Likes 14
Comment
-
I was seriously considering moving my companies production systems to btrfs as it was finally looking stable and some of its features could improve our processes... changing the on-disk format just sunk that option for us. This essentially moves btrfs back to square one wrt to stability and bugs, sure its likely to re-use a very large body of code already there, but you never know where some line made an assumption about the on-disk format and will now thrash your data.. and its likely to be an assumption the dev didn't even realize they were making.
We will be going to LVM2+xfs, basically gives you everything btrfs is trying to do, with about a similar level of complexity to maintain, but many more years of testing and abuse.
I wonder how Facebook's Tupperware team feels about this? Do they even still use Tupperware+btrfs? I heard they were moving everything over to Tectonic (thats a FS i really want to see!).
- Likes 2
Comment
-
I still don't understand why people consciously use btrfs and zfs instead of tried and proven LVM + ext4. Yes, snapshots, in my 30 years of computing I've needed them ... 0 times.
I cannot recommended xfs until they implement partition shrinking.
- Likes 3
Comment
-
This doesn't seem like too big of a deal, I'm sure it will end up being phased in as a capability before it becomes a default, and it will still be possible to create gen1 filesystems. There have been plenty of filesystem features added that break backwards compatibility since btrfs debuted, even if they didn't change the fundamental on-disk format.
- Likes 5
Comment
Comment