I noticed the promised repair-capable btrfsck did not come out by Feb 14 as promised. Yet another deadline missed.
Phoronix: A Patch That Can Make Btrfs 5~10% Faster
A patch has been sent over to the Btrfs developers that can result in the next-generation Linux file-system being 5~10% faster in writes by introducing an extent buffer cache for each i-node...
http://www.phoronix.com/vr.php?view=MTA1ODY
I noticed the promised repair-capable btrfsck did not come out by Feb 14 as promised. Yet another deadline missed.
Performance improvements are nice, but a patch that allows fsck would be more useful. Data safety > speed.
Check out these patches to disable COW for specific data files (like DBs and VMs) that are better written in-place. I just built the patched chattr and I'm defragmenting and rebalancing my VM subvolumes right now.
http://www.spinics.net/lists/linux-btrfs/msg09604.html
http://www.spinics.net/lists/linux-btrfs/msg09605.html
You don't want to release the source code of something that could (and without proper testing, most likely would) destroy the testers' drives... Better to make sure it's safe at least in local testing before that, and then release to public testing, and only after that declare it stable.
Doesn't matter if it's open source. People get their code ready with reasonable stability/design before releasing.Originally Posted by Linus Torvalds
I hangout in the btrfs channel on freenode all the time, and everyday I see people come in to say "My btrfs is corrupt, where can I find the fsck utility? I tried the one from git, and it didn't work" .. Can you imagine if the read-write version of btrfsck were made public before it's ready?
I not only imagine it, I expect it from a true open source project. Open is open...stable/ready or not.
I spent a lot time messing with btrfs and zfs on linux the last few days. I couldn't understand why the last git commit to btrfs-progs was Dec 1 2011--especially when I see all the headlines in the news and presentations being made talking about fsck and other changes over the last few months. I was ready to play.
Anyone checking out btrfs code from git and compiling the code is well aware that it could blow up your hard drive and all your data along with it. The same would hold true for an fsck program included with the bundle. I see the forums posts of people seeing corruption, and anyone who starts complaining is quickly reminded of the fragile state of the entire btrfs filesystem.
While any open source developer is free to release and commit what they want and when, I agree with the philosophy to release often and release to the widest test audience possible. The argument that it's crazy to release a read-write version of btrfsck before it's fully tested and ready just doesn't make sense given the fact that btrfs and user space programs are already released and considered experimental as is.
I'm sure we'll see the btrfsck code released soon, and I have no expectation that it will be production ready or come with any guarantees my hard drives and data won't get lost. The sooner the better, so it can gain a wider test audience than any internal testing can offer.
disclaimer: I don't know if the btrfsck delay in release is because of internal testing or not. I believe the argument to hold off on releasing open source code to the public because it's unstable is flawed.