On Mon, Apr 09, 2007 at 10:49:48AM -0700, Andrew Morton wrote: > On Mon, 9 Apr 2007 10:53:51 -0400 "Josef 'Jeff' Sipek" <jsipek@xxxxxxxxxxxxx> wrote: > > > The following patches introduce new branch-management code into Unionfs as > > well as fix a number of stability issues and resource leaks. First, a quick note...Unionfs used to have branch management code, but the code was so crufty that we decided to spare the eyes (and brains) of kernel developers at large by ripping it out. This series of patches just reintroduces the functionality in a sane way. With that said... > I have a mental note that unionfs is in the "stuck" state, due to general > agreement that we should implement this functionality at the VFS level, one > reason for which is unionfs's upper-vs-lower coherency problems. Right. The upper-vs-lower coherency problem is indeed a problem, but it is not a _Unionfs_ problem, but rather a _stackable filesystems_ problem (eCrypfs suffers from the same issue people are just less likely to trip over it as no one in their right mind modifies encrypted data by hand). If we hope to have Linux do stacking (which, I think makes sense), we need to make few changes to the kernel to allow stackable filesystems to work better, and safer. We're working on an OLS paper which discusses some of these ideas (some of which we got at LSF back in February) - for example, do we want to have strong or weak cache coherency? (When the lower pages change, do we want to have the VM enforce coherency, or can we use more of an NFS-like coherency model - checking {a,c,m}time.) Josef "Jeff" Sipek. -- Intellectuals solve problems; geniuses prevent them - Albert Einstein - To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html