In message <Pine.LNX.4.58.0409021230450.2295@ppc970.osdl.org>, Linus Torvalds writes:
[...]
[...]
Yes, that's exactly how our stacked f/s's work: not touching or modifying
VFS or lower f/s's, but of course we use the VFS the way other f/s's use it
(calling vfs_* functions and such). Each of our stackable f/s is a separate
f/s in its own.
And they're a nice way to augment the functionality of any other f/s w/o the
hassles of changing a lower-level f/s format or the VFS. We recently did an
example f/s that adds EA+ACL functionality on top of anything else, using
the lower file system's EA/ACL support if it's there, and for f/s's that
don't support EA/ACL natively, we support the ea/acl f/s calls and store the
actual ea/acl data in a small database. We've even demonstrated that it
worked on v/fat (yes, we know, vfat+ACLs is an an oxymoron :-)
We also found out over the years that our stackable file systems are an
interesting way to prototype features that might eventually move up to the
VFS itself; this is b/c each stacked f/s has to appear to the lower f/s as
the VFS itself, essentially emulating most of the VFS's functionality while
at the same time appearing to the VFS as a lower-level f/s. It's not easy
maintaining this split personality. :-)
Erez.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html