The main reasons that I want it on my desktop are:
* easy backups
* checksums
* maybe it will become integrated with package manager (I'm on ubuntu) so that I can roll back package updates if they don't work properlyThe main reasons that I want it on my desktop are:
* easy backups
* checksums
* maybe it will become integrated with package manager (I'm on ubuntu) so that I can roll back package updates if they don't work properlyIt is integrated with the package manager on Ubuntu already. I just upgraded my laptop to Quantal and part of the upgrade process spotted I was using btrfs and created a snapshot. (It was a complete waste of time as I have automatically created hourly, daily, weekly and monthly snapshots.) Doing regular package updates is very slow with btrfs. This is due to fsync() being called several times per file.
You'll also want Quantal for an updated btrfs-tools package. For example it lets you do scrubbing. You also need it (and kernel 3.3+) to change raid levels after filesystem creation. The Ubuntu 12.04 installer does create and install to btrfs but didn't let you configure things like raid level so you were stuck with whatever it did.
I've been running all my systems on btrfs for several months now on Ubuntu 12.04 (kernel 3.2) on both SSD and HDD including using RAID 0, RAID 1, dmcrypt/LUKS, inplace conversion from ext4 and who knows what else. (Across my server, workstation, laptop and HTPC.)
The only problem I have had is when filesystems fill up. I've never lost data but it can be quite frustrating trying to find files to delete (also need to be removed from snapshots), rebalancing etc to get things running smoothly again. The various ways of doing df are mostly a work of fiction.
My data is duplicated to offline backups, Dropbox, multiple systems and git/hg repositories so the failure of any system would be annoying but I'd never lose anything. You should make sure you are in that position first, independent of what filesystems are being used.
You mean that fsync()s are more expensive on btrfs, or ubuntu calls them more often when using btrfs for some reason?
I assume btrfs uses a log, right?
There is a log to help with fsyncs. http://en.wikipedia.org/wiki/Btrfs
Note that btrfs will be just fine on unexpected power outage - the filesystem will just contain some random combination of old and new files affected by the installation.
Also, please note that btrfs snapshots != backups. They will not save you in case of device failure. Checksums also won't help you if there are kernel bugs.
To be honest, what do i need btrfs for? I don't (and likely wouldn't) use all of its advanced features anyway.. In all the benchmarks ext4 seems to be a reasonable choice in terms of speed and stability.
Plus copy on write should be pretty cool (cp becomes as fast as mv), though I could see it allowing me to engage in some suboptimal behaviors of copying tons of stuff and counting on CoW to avoid actual duplication.