Re: Heads up on VFS based union mount

From: Bharata B Rao
Date: Sat Mar 31 2007 - 07:02:29 EST


On Fri, Mar 30, 2007 at 09:04:16PM +0200, Jan Engelhardt wrote:
>
> On Mar 30 2007 15:38, Bharata B Rao wrote:
> >
> >In union mount approach we maintain this stacking information in the
> >dentry structure. When a filesytem is union mounted on a mountpoint,
> >the dentry of the mount root would hold a reference to the mountpoint
> >dentry as an overlaid dentry and these two dentries together form a
> >union stack. Any subsequent readdir operation on this union mounted
> >dentry would work on the overlaid dentry also thereby providing the
> >merged view of the two filesystems.
>
> What about whiteouts? (I cannot remember whether Jan Blunk's paper
> mentioned it at all.)

We do have whiteout support. And as I mentioned earlier, the underlying
filesystem needs to support the new 'whiteout' filetype. As of now it is
supported for ext2, ext3 and ramfs.

Regards,
Bharata.
-
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/