Announcing: Slashdot Deals - Explore geek apps, games, gadgets and more. (what is this?)

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!



Btrfs Is Getting There, But Not Quite Ready For Production

Booker Re:Happy with XFS (268 comments)

Metadata checksums are under active development on XFS as we speak.

about a year ago

Btrfs Is Getting There, But Not Quite Ready For Production

Booker Re:Happy with XFS (268 comments)

So, until your understand this basic idea, don't go claiming you know _ANYTHING_ about filesystems.

Without sounding like too much of a jerk, I have hundreds of commits in the linux-2.6 fs/* tree. This is what I do for a living.
I actually do have a pretty decent grasp of how Linux journaling filesystems behave. :)

Test your assumptions on ext4 with default mount options. Create a new file and write some buffered data to it, wait 5-10 seconds, punch the power button, and see what you get. (You'll get a 0 length file) Or write a pattern to a file, sync it, overwrite with a new pattern, and punch power. (You'll get the old pattern). Or write data to a file, sync it, extend it, and punch power. (You'll get the pre-extension size). Wait until the kernel pushes data out of the page cache to disk, *then* punch power, and you'll get everything you wrote, obviously.

XFS and ext4 behave identically in all these scenarios. Maybe you can show me a testcase where XFS misbehaves in your opinion? (bonus points for demonstrating where XFS actually fails any posix guarantee).

Yes, ext3/4 have data=journaled - but its not default, and with ext4, that option disables delalloc and O_DIRECT capabilities. 99% of the world doesn't run that way; it's slower for almost all workloads and TBH, is only lightly tested.

Yes, ext3's data=ordered pushes out tons of file data on every journal commit. That has serious performance implications, but it does shorten the window for buffered data loss to the journal commit time.

You want data persistence with a posix filesystem? Use the proper data integrity syscalls, that's all there is to it.

about a year ago

Btrfs Is Getting There, But Not Quite Ready For Production

Booker Re:Happy with XFS (268 comments)

No, that's FUD and/or misunderstanding on your part.

"data=ordered" is ext3/4's name for "don't expose stale data on a crash," something which XFS has never done, with or without a mount option. ext3/4 also have "data=writeback" which means "DO expose stale data on a crash." XFS does not need feature parity for ill-advised options.

Any filesystem will lose buffered and unsynced file data on a crash (http://lwn.net/Articles/457667/). XFS has made filesystem integrity and data persistence job one since before ext3 existed. Like any filesystem, it has had bugs, but implying that it was unsafe for use until recently is incorrect.

I say this as someone who's been working on ext3, ext4 and xfs code for over a decade, combined.

about a year ago

Real-Time Power Monitoring Options?

Booker Maybe currentcost (172 comments)

The currentcost meters are fairly cheap, OSX-capable I think, and very popular in Europe so there are lots of little scripts for them. In the us you can find them at http://currentcost.net/buynowmain.html

The DIY rig at http://openenegymonitor.org/ is fairly straightforward, even if you're not that technically inclined....

Otherwise I'd just echo the suggestion to suck it up for the extra $50 and get the Ted 5000

My recent time-waster is finding a way to make all these different gadgets able to talk to all the various websites ...

more than 4 years ago

Real-World Benchmarks of Ext4

Booker Fedora (249 comments)

In since F9; in F10 boot the installer with "ext4" on the commandline to get it enabled.

more than 6 years ago

On the State of Linux File Systems

Booker No xfs fsck? eh? (319 comments)

XFS is also nice, but the lack of a proper userspace fsck has turned me away there.

Eh? Man xfs_repair(8)

Just because it's not called "fsck" (and not run at boot time) does not mean that the functionality is not there when you need it.

A crash does not mean you need to run fsck; that is why you pay the price for the journaling overhead, right? When xfs detects errors at runtime, run xfs_repair, and bask in the glory of "a proper userspace fsck."

more than 6 years ago


Booker hasn't submitted any stories.


Booker has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?