Re: [PATCH 0/13: eCryptfs] eCryptfs Patch Set

Christoph Hellwig
2006-07-07T10:01:42Z

On Thu, Jun 01, 2006 at 03:47:56PM -0500, Michael Halcrow wrote:
> On Sat, May 20, 2006 at 10:57:40AM +0100, Christoph Hellwig wrote:
> > - please split all the generic stackable filesystem passthorugh routines
> > into a separated stackfs layer, in a few files in fs/stackfs/ that
> > you depend on. They'll get _GPL exported to all possible stackable
> > filesystem. They'll need their own store underlying object helpers,
> > but that can be made to work by embedding the generic stackfs data
> > as first thing in the ecryptfs object.
>
> We are looking into ways to do this in a way that makes sense, since
> there are so many varieties of stackable filesystems out there (e.g.,
> gzipfs, unionfs, ecryptfs, etc.), each filesystem having its own
> unique characteristics that affect how the ``stackable'' components
> take form. This is something we are investigating for the future, but
> in the meantime, we would like to have eCryptfs merged in as it is
> currently implemented.

All the namespace operations are the same for any stackable filesystem
that only changes data. So just rename them, and split the private data
with the generic one always beeing the first memeber of the ecryptfs one.
It's prettyy trivial and I think fair to do before we put ecryptfs in.