LWN.net Logo

XFS: the filesystem of the future?

XFS: the filesystem of the future?

Posted Jan 27, 2012 1:12 UTC (Fri) by dgc (subscriber, #6611)
In reply to: XFS: the filesystem of the future? by razb
Parent article: XFS: the filesystem of the future?

> NFSv4 ? Why is there a need for the underlying file system to know about
> nfs ?

Because NFSv4 requires certain functionality from the underlying filesystem to be able to detect that a file has changed. This has to be valid across NFS server restarts (e.g. power off/on) so needs to be stored in stable storage. i.e. in the underlying filesystem. ext4 already has this functionality as it's on-disk format was changed at about the same time the NFSv4 functionality was introduced. Now that we are doing a major XFS format change, we can add this functionality as well.

Dave.


(Log in to post comments)

XFS: the filesystem of the future?

Posted Jan 27, 2012 14:38 UTC (Fri) by bfields (subscriber, #19510) [Link]

I doubt ext4's implementation is actually completely right, by the way; we need to take another look at it.

XFS: the filesystem of the future?

Posted Jan 29, 2012 0:58 UTC (Sun) by sbergman27 (guest, #10767) [Link]

No implementation is ever perfect. Do you have some specific reason for thinking the Ext4 implementation is bad? If so, what is it? Or was this just an opportunity to disparage the competition?

XFS: the filesystem of the future?

Posted Jan 29, 2012 2:32 UTC (Sun) by jrn (subscriber, #64214) [Link]

Check who you're replying to?

XFS: the filesystem of the future?

Posted Jan 29, 2012 4:15 UTC (Sun) by sbergman27 (guest, #10767) [Link]

J. Bruce Fields of Red Hat, if I'm not mistaken.

XFS: the filesystem of the future?

Posted Jan 29, 2012 10:49 UTC (Sun) by nix (subscriber, #2304) [Link]

Or, perhaps, he just has an uneasy feeling about it because it's changed a lot without a good look over. No need for conspiracy theories. Uneasy feelings can be surprisingly reliable when you're familiar enough with a codebase.

XFS: the filesystem of the future?

Posted Jan 29, 2012 23:14 UTC (Sun) by sbergman27 (guest, #10767) [Link]

"Or, perhaps, he just has an uneasy feeling about it because it's changed a lot without a good look over."

Perhaps. I've spent enough time refuting baseless conspiracy theories that I am not about to promote one. I fear that I let myself become a bit of an Ext4 cheerleader, there.

Not intended. As I'm keenly interested in Ext4, Btrfs, and XFS. Clearly, all three of those have parts to play in the coming years. That Ext4 happens to be at center stage now should not detract from the fact that the trio is a team.

That's the message which I would like to convey.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds