Re: [PATCH 00/32] VFS based Union Mount (V3)

From: Arnd Bergmann
Date: Tue May 19 2009 - 08:22:20 EST


On Tuesday 19 May 2009, Jan Blunck wrote:
> On Tue, May 19, Arnd Bergmann wrote:
> > This would work, but you'd have to do this for each file system if you want
> > to be able to use it as the top of the union while backed by a read-only
> > block device or when you don't want it to be written.
>
> I know that the requirement for the topmost filesystem to be able to create
> directories and fill them with fallthrus is an unattractive one. On the other
> hand this is the cost that you have to pay at the moment to get this kind of
> functionality. This implementation will not help with all use-cases. Its focus
> is to get certain use-cases right.

So what would go wrong if you only made them persistent for writable file
systems, but allowed fallthrough dentries to be discarded for read-only
file systems? As long as the lower layers don't change, you should still
be able to reconstruct the same dentries every time you do a readdir, right?

Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/