Interview With Reiser4 Author Hans Reiser 382
An anonymous reader writes "KernelTrap has an interesting interview with Hans Reiser, the author of two revolutionary Linux filesystems, Reiser3 and Reiser4. Reiser3 was the first journaling Linux filesystem. Reiser4 is a complete rewrite that is claimed to offer amazing performance and a new plugin architecture offering semantic enhancements to rival Microsoft's WinFS and Apple's Spotlight. Comparing Reiser4 to WinFS, Reiser says in the interview, "Reiser4 is a much more mature design, representing a 10 year effort"."
Homework (Score:3, Funny)
Berkeley was a lot better than junior high school, but it still involved homework, which deep down in my heart I could never believe in.
I hear you. I always avoided homework as much as possible too.
Re:Homework (Score:2)
I hear you. I always avoided homework as much as possible too.
Your comment might be funny, but remember that according to Penn State researchers, too much homerwork can be counterproductive [slashdot.org]... Reiser might have a point after all.
I was actually just wondering (Score:2, Interesting)
But I don't know enough about WinFS OR Spotlight Or ReiserFS to know if this would be even remotely useful or is just nonsense
Re:I was actually just wondering (Score:2)
Re:I was actually just wondering (Score:4, Insightful)
SQL language itself is somewhere in between being a very restrictive domain specific language and a full programming language. The way it is used in practice is by calling it from a real programming language, usually through an interface that leaves the door wide open for injection vulnerabilities.
I believe the problem is that it's difficult to figure out what functionality goes where.
If you want to get a list of all files that have been modified since monday and whose name does not start in a period, how do you proceed? Do you get a list of all files, then throw away all but the ones modified since monday, then discard all the ones whose names start in periods?
Do you get a list of all files whose names do not start in periods, then discard all files that have been modified since monday? That requires your search interface and implementation to somehow support intelligent matching of the names (more difficult than getting all files whose names start in periods).
Or do you directly query the system for what you want? In that scenario, your interface and implementation have to support complex queries, with subqueries, unequality operators, etc. Are you going to implement all this functionality, just because someone might need it? Is anyone going to be able to understand or implement your interface?
I would love it if a good and cross-platform interface were available, but I don't think it's ever going to happen. If not for the technical difficulties, than because Microsoft won't want to adhere to the standard.
Re:I was actually just wondering (Score:3, Informative)
How about the semantics described in The ReiserFS Future Vision Whitepaper [namesys.com]
Regarding how to compute it, the standard algorithm traditional to boolean algebra works reasonably well, in which you take the intersection of all of the sets matching the subnames, starting the computation with the smallest of those sets.
Hans
Re:I was actually just wondering (Score:3, Insightful)
WinFS? (Score:2, Funny)
I thought It was dead...
Let's try to keep our comparisons to real entities...
Re:WinFS? (Score:4, Informative)
Re:WinFS? (Score:5, Informative)
Hans and Franz (Score:4, Funny)
Ya. Ya. All you little girly men with your FAT and NTFS!
Really, Ya. Makes me sad to see such pathetic file systems!
Re:Hans and Franz (Score:3, Funny)
Who taught his B-trees how to dance.
When unlinking filenames,
Each inode proclaims,
Our FS pwns Bill girly man's!
Chicken make lousy housepet? (Score:2)
Re:Hans and Franz (Score:3, Funny)
It was quite a thunderous sound.
Some bastard named Hans
taught his trees how to dance.
Now our files are in lost+found
Re:Hans and Franz (Score:3, Informative)
What exactly is "amazing" performance? (Score:2, Insightful)
Re:What exactly is "amazing" performance? (Score:5, Informative)
Re:What exactly is "amazing" performance? (Score:2)
Re:What exactly is "amazing" performance? (Score:5, Informative)
Describe how you use your FS, and maybe somebody can provide good feedback.
Interface to metadata? (Score:2, Insightful)
I'm happier with Google desktop, which can, effectively, search
OS/2 was first... (Score:2)
Re:Interface to metadata? (Score:3, Insightful)
The file/directory idea got spread by unix (except for CP/M, who invented the "unit" bastardization which was inherited by DOS and NT) and it has been nice for 30 years
But now we have the same problem: We have too many files. The "file/diretory" thing was enought in the 70's because people didn'
Re:Interface to metadata? (Score:5, Insightful)
Remember what?
When I query something, I query what I _want_. Filesystem should provide me my files - there's nothing to remember. I'm already quering amarok interface with song names and it doesn't hurts. Same for spotlight - people likes it.
Second people complain of Resier4's system overhead
I don't understand those complains. I've seen benchmarks where reiser4 eats the double of CPU time than other filesystem. But then, it finishes the task in half of the time.
Which is the whole point of a filesystem, mind you. If your filesystem is eating few CPU cycles, it means it's wasting time waiting for the disk. In a "perfect world", any filesystem would eat 100% - it'd avoid all the I/O. Reiser 4 complains about eating too many CPU can be partly because it is fast at I/O. I guess their algorightms are also very complex and burn lots of cpu cycles too - if you want to avoid I/O you need complex algorithms after all, right?
CPU cycles are cheap. What do you prefer, a fast filesystem which doesn't eats cpu cycles (because it sucks and spends all the time waiting for the disk) or a filesystem which eats CPU power because it is fast?
Re:Interface to metadata? (Score:3, Informative)
It breaks the filesystem namespace, it's ugly, there's a nice paper from Rob Pike and Peter J Weinberg where they compare and explain different namespace choices for several operative systems (unix, plan9, dos, VMS): The Hideous Name [bell-labs.com]
RTFA (Score:2)
Re:Interface to metadata? (Score:5, Interesting)
One of the driving concepts behind ReiserFS is that metadata is nothing special, and it should be presented in the same namespace as the files themselves. If you read the article, it talks about using 'cat' and other simple tools to manipulate the metadata. Think something like 'cat /home/foo/music/some.mp3/artist' to display the person who performed a song.
It depends on the metadata. Think about file permissions. That's metadata. All the files you create are given defaults based on your umask, and you can go in and change them at any time.
In order to expose some of this metadata to the end-user in a GUI, yes, there will probably need to be some new UI work done. It doesn't all just magically work, it has to be presented to the end-user in some way that will make sense to them. So what I would expect is that the filesystem and plugins will be finished and done, and able to be manipulated by programs and shell scripts, and then it will take further work to integrate this metadata support into GUIs and file managers in a way that's useful to non-power-users.
Re:Interface to metadata? (Score:5, Interesting)
If I'm writing an image viewing program I no longer have to worry about hooks to libjpg, libungif, libpng, libevery image file type available. Let the OS care about file types and let applications deal with raw data and focus on interface rather than file types.
Re:Interface to metadata? (Score:3, Insightful)
Is that raw data big-endian or little-endian? How many bits per sample? What's the sample rate? How many channels? Interleaved or no?
Will that pseudo-file support seeking? What sort of units will you seek in -- bytes, samples, frames, or seconds?
What if I try to read 3 bytes, but the frame size is 4 bytes? My 3-byte read will never return any data, even though there's data left in the
Re:Interface to metadata? (Score:3, Insightful)
Well, noone stops you from opening and reading 'file/raw/bps', 'file/raw/endianness' etc. As long as we can agree on the common namespace for all audio files, I don't see why it won't work.
Yes, if the plugin supports it.
Since file (even a pseudo one)
Re:Interface to metadata? (Score:3, Interesting)
OK, but that won't work for the "cat file.mp3/raw >
The point of my criticism is that raw audio data isn't self-describing, so unlike text, you can't pipe it around without supplying some metadata. IMO a better solution than what you propose is to support an interface like file.mp3/wav, which is raw dat
Re:Interface to metadata? (Score:3, Interesting)
How does metadata get into the ID3 tags of MP3s and the comments in Ogg Vorbis files? Wouldn't it be nice if that info were available through a standard interface? Wouldn't it be nice if the same interface provided access to metadata about movies? Webpages? I
Re:Interface to metadata? (Score:5, Insightful)
Anytime you save a file today, you're already manually specifying several pieces of metadata: the filename and the location.
Anytime you access a file today, you're already manually specifying that metadata also.
Consider how many clicks it takes to (graphically) navigate to a file from the root directory. That is exactly the number of metadata labels that you yourself supplied for that unique file's creation.
So, the obvious generalization of this is to get rid of the hierarchy concept entirely. Then, as an earlier poster described, I can naturally tag my music by artist and by genre, instead of using symlinks to cut across trees.
More practically, it would allow applications to install themselves using a unique tag, so that uninstalling (or moving, or archiving) the application requires just one query on just one tag, and is guaranteed to turn up any associated file regardless of its "location."
--
Dum de dum.
Re:Interface to metadata? (Score:4, Informative)
Well, what I want to know is: How do I get to this metadata? ...Once there's an application which can find all pictures of my dog, or songs with piano in them, and store THAT in the metadata, which I can search somehow, call me.
I take it you have not actually tried to use any of these new filesystems and their metadata. Metadata comes from lots of places. It comes from an internet database of music CD and movie DVDs. It comes from the OS intelligently reading the text contained within various file types (like text, rtf, .doc, PDF, PS, etc. etc.) and extendable by a plug-in type architecture. It comes from applications who assign it based upon given criteria, or from applications that create files which are now starting to assign more and more metadata to those files. It comes from hardware, like when your digital camera or PVR assigns dates to files it creates. It comes from users inputing it by hand, like when they go through their vacation photos and add a description for each picture.
I use this metadata and perform searches on it every day. Why shouldn't I be able to do an easy search on my computer for every document, application, library, etc. that has the string "vpn" in it? Shouldn't I be able to find all references to MPLS in my files, whether or not they are in in text, .doc, .pdf, or some other file format? Shouldn't applications on my system be able to find and edit this data as well? Well, now I can (and they can) and I really, really like it.
For some reason you are looking at the current limitations of metadata, i.e. optical recognition can't reliably identify my dog, instead of the advantages, which is all the information that can be reliably searched. Maybe right now I can't search for all my mp3's with a piano in them, but I can automatically tag all the audio coming in over the mic I have attached to the piano with metadata that says it is piano. Now fast forward 10 years and suddenly all of your files have a wealth of automatically generated data associated with them. In 10 years I will be able to search for all the mp3's that have piano in them, because my audio mixing program labels all the files with input from the piano mic with the proper metadata and why not. For a few seconds work up front I, and everyone using my files, gets additional functionality. Now apply that to all files from all sources and suddenly metadata has greatly improved the computing experience.
Get with the times, metadata in the filesystem is here and it is very useful and it is becoming more and more useful every day.
Non-wide page link (Score:5, Informative)
When will it be "safe" to use? (Score:3, Interesting)
Re:When will it be "safe" to use? (Score:3, Interesting)
Re:When will it be "safe" to use? (Score:3, Interesting)
I have not suffered any problems whatsoever in more than a year. I have had power-cuts, battery problems, and even a few kernel panics and so forth due to ACPI bugs, and reiser4 hasn't lost a single file or even needed a fsck.
Not to mention that its fast as hell.
I still do make weekly backups though, since I don't trust the disk to survive very long -
For desktop use: UFS2 versus ReiserFS3. (Score:3, Interesting)
The UFS2 filesystems had the feel of being quicker than the ReiserFS3 filesystems. That said, I do not have any numerical data to back this up. However, untarring a large tarball consisting of many smallish files under FreeBSD felt quicker than doing the same under Linux.
Would this difference be caused by the filesystems themselves, or would it most likely be a difference between the Linux and FreeBSD IO subsystems? Would ReiserFS4 be more comparable, if not better than, FreeBSD's UFS2 for workstation-style workloads?
Re:For desktop use: UFS2 versus ReiserFS3. (Score:2)
Re:For desktop use: UFS2 versus ReiserFS3. (Score:2)
That said, if I can untar the latest Mozilla source snapshot far faster under FreeBSD than Linux, for whatever reason, I'll use FreeBSD. But I would like to know why the UFS2 filesystem of FreeBSD appears so to be faster than of the ReiserFS3 filesystem of Linux.
Huh ? (Score:4, Interesting)
Comparing ReiserFS and WinFS is a bit like comparing Qt and Explorer - nonsensical. They're different things, operating at different levels, to serve different purposes.
Come on, how are the parties involved supposed to carry any credibility when making such a *basic* and *fundamental* misunderstanding - /WinFS is not a filesystem/. They also seem to misunderstand what Spotlight is - again comparing it as a filesystem, when it isn't.
Re:Huh ? (Score:2)
WinFS has also been a long time coming. Though I suppose 9 years isn't as exciting as 10.
Re:Huh ? (Score:5, Informative)
Are you sure you understand what ReiserFS is suppose to do? What about WinFS? I don't think compairing WinFS to ReisierFS is quite like compairing Qt to Explorer. The functionality of WinFS is (as I understand things) a proper subset of the functionality of ReiserFS.
Again, there purposes are not really different. Sure, ReiserFS is a full blown filesystem, and WinFS is not a filesystem, however the functionality of WinFS is included in ReiserFS. The fact that they operate at different levels is the reason for Reiser's remarks concerning ReiserFS and WinFS. That's his point. WinFS works on a user level to provide functionality that ReiserFS provides at the filesystem level, and Reiser feels that this is a more mature design.
Re:Huh ? (Score:5, Informative)
Sorry, but ReiserFS v4 is a tiny subset of WinFS. I would say that the grandparents analogy is apt.
To clarify: ReiserFS adopts database concepts in two ways. It uses a B-tree variation to allow efficient hierarchical storage layout and it uses it to allow single-process atomicity. That is all.
WinFS on the other hand is an actual factual relational database (actually parts of MS SQL-Server) built on top of NTFS; a NTFS file is a special datatype among many others. One can specify relations and constraints as one would in a relational database. It has full atomicity (ACID), whereas ReiserFS's atomicity just gives a rollback local to a process. That is, any read or write may be transactionally inconsistent if there is more than one process dealing with the data whereas in WinFS one gets full support for transactions.
In addition to the above WinFS of course provides the obvious big end-user features; Fast queries over all the data in a relational way, and triggers that allow actions performed when data is changed or queried (both of which OSX provides in a slightly more ad-hoc way on the side).
So where does ReiserFS fit in? Well, the complaint that Hans Reiser has against WinFS is that not everything is a file, rather files is a special case mapping down to NTFS streams. Small auxilliary data is handled by other data-types in an SQL-like manner in WinFS, which to me at least seems like a quite sane approach. ReiserFS instead just optimizes the heck out of small files, planning to just take the UNIX principle to the limit, everything is a file, even if you just want to store a small integer. This makes everything fit into the classic filesystem namespace in a good way, but it is really less structured than the WinFS approach. WinFS relates whereas ReiserFS just provides really fast unstructured primitives.
Overall I don't expect ReiserFS to be overly relevant to the OSS answer to WinFS, mostly because I don't really expect a OSS answer to WinFS on that level. While Microsofts approach is a great piece of engineering is is also a huge amount of work. More likely is that the Apple approach will continue to be the important one; Just add the stuff needed to get the actually important end-user features today, work on the low-level programmer features later.
On the other hand ReiserFS v4 really appears to be very very fast. No doubt great features can be built on top of it, but on the other hand the classic VFS abstraction is a good thing. Swapping filesystems without impacting the userland is a feature that is really useful, so it seems fairly likely that the simpler approaches like Beagle will get to add the basic end-user features instead of fattening up the file systems (I highly disagree with Reiser that it is on the actual FS-level things should happen in the future). People who need databases can, *gasp*, use a database instead.
In fact, I am suprised to not yet have seen systems like Gnome and KDE fire up a stripped down PostgreSQL process or something similar to provide applications with an excellent database for whatever their needs might be. For Microsoft doing a thing like that hurts the bottom line (they do charge a fair bit of money for SQL-Server after all), but there is no reason why an OSS platform should not utilize the best technology it has available at every turn.
Oh well, getting off track. Summary: ReiserFS v4 is a tiny subset of WinFS feature-wise, it just does it very very fast.
Re:Huh ? (Score:4, Funny)
Then what does the FS stand for in the name? "Full 'o Shit"?
And on the other side, I think I'm going to trust that Hans fucking Reiser knows what a filesystem is. Idiot.
Re:Huh ? (Score:3)
Future Storage.
and technically, GP is right -- WinFS is an organisational system overlayed onto NTFS.
Before you call someone else an idiot, try reading this: http://en.wikipedia.org/wiki/WinFS [wikipedia.org]
Did they ever fix the performance issue? (Score:3, Interesting)
James
Re:Did they ever fix the performance issue? (Score:2)
That said, I have no problems with reads during
Re:Did they ever fix the performance issue? (Score:4, Interesting)
When you copy a big tree from one disk to another, where the destination is Reiserfs (source may be Reiserfs as well) it is going to be slow.
There is something in Reiserfs that causes the system to keep too much filedata in memory during writes. At some point it even starts to swapout running programs to make room for buffers for the writing, instead of just writing them to disk and freeing for new operations.
The result is the "freeze" problem: everything you touch happens to be swapped out and needs to be brought back in, and all system RAM is used for useless buffers.
Try copying something like 20-30GB on a system with 1GB or less of RAM, that should show the problem.
anyone know anything about (Score:2)
did they exist? if so what were they like?
bring on the meta data (Score:2, Interesting)
10 years? (Score:2, Funny)
obligatory comment:
by the time longhorn (vista?) is released, it too will be a 10+ year effort.
10 year maturity (Score:4, Interesting)
Still waiting on that plugin system, thanks. Should be good though. No hurry, but if you could even begin to release some info on
-Lord "I hope I havent missed anything in all these years waiting" Myren
Required reading (Score:3, Informative)
[Actually, the person who implemented HFS+ xattrs and worked in the Spotlight team was the guy who wrote Practical FileSystem Design, so I think that counts
Yeah but does it... (Score:2)
Other filesystems: XFS (SGI) and GPFS (IBM) (Score:3, Informative)
XFS [sgi.com] (from SGI) and GPFS [ibm.com] from IBM.
GPFS has a different focus, but XFS seems to be aimed at solving similar problems as ReiserFS (scalability, high performance, journaling).
IBM's JFS (Score:3, Interesting)
Not really looked at GPFS, but if IBM's history is anything to go by (JFS, M:N threading, the DAISY code translator, etc) it'll be revolutionary, be an inspiration to a thousand projects, and get forgotten as it
general FS question (Score:3, Interesting)
What sort of problems can I expect to face?
Does Reiser4 work in a 64bit environment on AMD64? (Score:3, Interesting)
Re:Does Reiser4 work in a 64bit environment on AMD (Score:3, Informative)
Re:No one cares, but . . . (Score:4, Insightful)
Re:No one cares, but . . . (Score:5, Insightful)
Re:No one cares, but . . . (Score:5, Insightful)
I just come from a time and place where being objective and modest about your own trade or art speaks far stronger than unmodest self-PR work.
Having read the entire interview, I found nothing in it that made me think of Hans Reiser as engaged in unmodest self-PR work. Contrary to the tiny snippet you quoted, he doesn't slate WinFS. He says that it is doing interesting work. Nor is it particularly immodest to say that his file system is considerably more mature when he's spent almost 10 years more on it than the other.
Reading the article, the parts that you consider immodest seem to me, to be just sincere enthusiasm for his work. And there's nothing wrong with that.
Contrary to the title being "no one cares", I think the replies so far show that people do.
Re:Maturity (Score:2)
Re:Maturity (Score:5, Informative)
Re:Maturity (Score:2, Funny)
I'm much the same way -- well, except I'm a dumbass.
Re:Maturity (Score:5, Insightful)
It's really a design/people issue. There are the lingering issues of stability and similar, but these are not (as I understand) the original problem.
Reiser4 incorporates some sophisticated metadata concepts ("semantics") that are in effect a software layer over the fs - which is why Hans can compare it to WinFS. Some of these features step into the functionality domain of the VFS and the kernel. Not a bad thing, per se.
Now, we all know the stereotypical kernel dev - technically conservative, concerned about maintenaince, not really keen on making big compromises, and annoyed by ego (again, a stereotype). Keep that in mind.
Hans of course wants Reiser4 into the kernel. What's the holdup (from a technical design standpoint)? Well, individuals like Andrew Morton want functionality in the kernel that can be reused in a file-system nuetral fashion. Reiser4 has a plugin system, but it's a Reiser4 plugin system [kerneltrap.org]. Reiser4 and Hans want to extend Linux as an API, which right now will just be for Reiser4.
There are also some lingering details of how this will change the course of filesystem integration in the kernel, in regards to traditional POSIX and Unix-like behavior. I don't recall any enduser problems, but there are few complaints.
Why might this be annoying? Well, Hans wants his fs into the kernel now and he makes the case of its superiority, the markets demand, and the need to compete with companies like Microsoft. I wouldn't be the one to tell kernel devs that they need to compete with MS, but Hans is - to say the least - confident. And he did name the filesystem after himself, so I'm not how this couldn't be personal on some level.
The middle ground is to say to Hans: we'll take Reiser4, but we want these Reiser-only features to be ultimately modified for all capable filesystems. Hans insists - and I'm sort of generalizing here - that the details can be sorted out, but right now we should go with Reiser4 and not worry about making it anything but a great fs.
So, Hans took a "assertive" position on why Reiser4 should not only be included in the Linux kernel but also change the kernel. Linus, Morton, and a few others took a stand and said - in so many words - "Hans, we aren't putting your ego into our kernel. Not even experimental."
It would be interesting to see if end users put enough momentum behind Reiser4 to put in into mainline or start it in 2.7.
Is that worth a few flames?
Re:Maturity (Score:3, Interesting)
You make that sound like a bad thing!
I'm not a kernel developer, but as a professional software engineer I do know that conservative development is the best policy. Users tend to want the opposite unfortunately. They don't care how rotten and worm-ridden the inside of the apple is, so long as the outside is bright and shiny.
Re:Maturity (Score:5, Insightful)
If benchmarks are even halfway legit, then this is indeed something amazing.
Re:Maturity (Score:4, Informative)
Re:Maturity (Score:4, Insightful)
Re:Maturity (Score:3, Informative)
Re:Maturity (Score:3, Interesting)
Personally, I've found ext3 to survive crashes the best: xfs, jfs and reiser have all lost me data.
Re:Maturity (Score:3, Interesting)
Of course, this is moot since none of them will regularly lose files, and anything important is regularly backed up. Not to mention that a single UPS to weather minor power interruptions costs under $100... Right?
Re:Maturity (Score:5, Informative)
It's also my understanding that the key reason kernel developers don't want to accept his patches is that they don't like big megapatches that affect many systems or replicate functionality that is already in the kernel -- it's bad for maintenance. It's also my understanding that he doesn't want to break up the patches himself and he has refused help from others who are eager to do it for him. For him, it's an all or nothing deal -- take it or leave it. The kernel developers say "fine, we'll leave it", but he doesn't accept their decision and continues to complain. Again, you can't have it both ways.
Reiser may be a genius, but even geniuses have to (*gasp*) live in the real world and negotiate with real people. Even if Reiser is smarter than all the kernel developers (doubtful), it pays to treat your so-called "inferiors" with respect. Even janitors and garbage collectors can have wisdom that we don't have and things they can teach us.
Re:Maturity (Score:5, Insightful)
There's nothing a janitor or garbage collector can teach me or you, or most others on Slashdot.
How about humility?
Re:Maturity (Score:3, Insightful)
Why is it that 'feel good' euphemisms have more standing than reason?
What are the odds that your lack of humility is actually reasonable? I was a freaking genius until I got out of college and met the real world.
And, if you must compare yourself to others, be very, very careful about doing it based on how they earn their living. I've known some pretty amazing janitors, for example, including one who was a very skilled Unix admin and programmer. I know another who janitor who is an extremely accompl
Re:Maturity (Score:2, Funny)
Hey, if the emotional maturity of Bill Gates was related to the quality of his OS, th...
nevermind.
Re:Maturity (Score:3, Interesting)
Re:Maturity (Score:2, Insightful)
Re:Maturity (Score:4, Informative)
Re:Maturity (Score:2, Funny)
Filesystems in Userspace, Dammit! (Score:4, Interesting)
There are so many wonderful things that can be done with filesystems once they can be added from userspace. How about transparently accessing files through SSH or FTP, from any application?
There are various tricks that allow filesystems to be implemented in userspace, such as LUFS [sourceforge.net] and FUSE [sourceforge.net]. Other filesystems (especially the ones that are portable to other systems) pretend to be NFS.
All of these suffer a performance penalty, but I wonder how much that really matters when you're interacting with disks or networks, which are very slow compared to the CPU and RAM anyway.
Many things besides filesystems would benefit from being implementable in userspace, but filesystems are what I personally have thought about most.
Re:Filesystems in Userspace, Dammit! (Score:4, Informative)
I don't know if you've actually tried this, but I have. Between the fact that the VFS system is poorly documented and all Linux kernel internals are subject to change without notice, writing filesystems for Linux is a total nightmare. And then you have to do the work again for FreeBSD, NetBSD, and OpenBSD.
Having things in userspace provides some form of shielding, and practice has shown that it lowers the barrier to implementing filesystems. Witness the great number of useful "filesystems" available through LUFS, FUSE, KDE, mc, GNOME, and others.
Re:Filesystems in Userspace, Dammit! (Score:4, Informative)
Fun stuff.
Roger
Re:Filesystems in Userspace, Dammit! (Score:4, Interesting)
Indeed, because Linux does not make an efficient microkernel. But the benefits of microkernels are well known, and things like QNX prove that performance does not need to be a problem. I think it's very possible that the next big open source OS is going to have a great microkernel as its killer feature. DragonflyBSD, perhaps? Or maybe some new incarnation of MINIX?
Re:Filesystems in Userspace, Dammit! (Score:3, Funny)
The L4 microkernel architecture does seem quite impressive though.
Re:Maturity (Score:4, Interesting)
Frankly Reiser4 looks like a good project.
Re:Maturity (Score:2)
Re:Maturity (Score:2)
Oh yeah, and how mature is it to flame someone behind the mask of anonymity?
Re:Who's on first? (Score:5, Informative)
JFS came later than XFS though I can't find the date.
Of course officially ext3 came out before reiserFS in september of 1999, though ext3 is the real winner. Which produced workable code first I have no idea.
Re:Who's on first? (Score:2)
It doesn't matter who was first though. It's not like journaling filesystems were new technology. This is almost as silly as claiming to be the first to run Windows for Workgroups v3.11 on an Opteron. Imagine how much sooner we would have had a modern filesy
Re:Kernel vs User Mode for filesystem (Score:2, Informative)
Re:Kernel vs User Mode for filesystem (Score:3, Funny)
Hans Reiser
Re:Kernel vs User Mode for filesystem (Score:3, Insightful)
You also seem to be mixing up the issue of microkernels and monolithic kernels. Apple's OS X uses a microkernel, but the operating system is still monolitic, so all the important stuff is st
Re:Kernel vs User Mode for filesystem (Score:5, Informative)
I am sure of it becuase I would absolutely never say that "Linux kernel developers do what's right because it is _right_, not because somebody else does it.".
I am just not that nice a guy that I would say such a thing.:-/ I am guilty of saying the opposite at various times. I am known for this, and not particularly liked for it.:-)
This is a forged quote. Note the false defensiveness put into it in the sentence "So there's really no point in trying to push your agenda by trying to scare people with MS activities." That really sounds like someone at MS posted this.
It does not matter so deeply that MS put it into or out of the kernel, what matters is how they layered the code relative to itself --- that is, do they use the FS API, which lacks an insert or excise operation, to repack small objects that they squished together within a file, and does that layering make things slow. I think it almost certainly does make it slow, and it definitely is inelegant.
Hans Reiser
Reiser4 Architect
Namesys
Re:Kernel vs User Mode for filesystem (Score:3, Informative)
Re:Kernel vs User Mode for filesystem (Score:4, Informative)
1. WinFS is not the real filesystem, the real filesystem (NTFS) still runs in kernel mode. WinFS is "merely" a set of libraries in user-space, like gnome-storage. So, you can't derive a need to push such functionality into the Linux kernel.
2. Trying to push some functionality into the kernel with the reason to compete with Microsofts development won't work, because they do what they think is right, not in order to compete with someone else.
Re:Kernel vs User Mode for filesystem (Score:4, Interesting)
Linus and I disagree on this point, a pity that.
rlocate is good for single user systems (Score:2, Interesting)