Re: [Unionfs] Re: [PATCH -mm] unionfs: build fixes

From: Bharata B Rao
Date: Tue Jul 29 2008 - 23:28:52 EST


On Tue, Jul 29, 2008 at 09:02:03PM -0400, Erez Zadok wrote:
> In message <20080729172216.84e958f7.akpm@xxxxxxxxxxxxxxxxxxxx>, Andrew Morton writes:
> > On Tue, 29 Jul 2008 19:12:47 +0100 (BST)
> > Hugh Dickins <hugh@xxxxxxxxxxx> wrote:
> >
> > > Get unionfs building and working in mmotm with the 2.6.27-rc1 VFS changes:
> > > permission() has been replaced by inode_permission() without nameidata arg;
> > > unionfs_permission() without nameidata arg; vfs_symlink() without mode arg;
> > > LOOKUP_ACCESS no longer defined; and kmem_cache_create() no longer passes
> > > kmem_cachep to the init_once() constructor.
> > >
> > > Note: while okay for inclusion in -mm for now, unionfs_permission() mods
> > > will need review and perhaps correction by Erez: without a nameidata arg,
> > > some locking vanishes from unionfs_permission(), and a MNT_NOEXEC check on
> > > its lower_inode; I have not studied the VFS changes enough to tell whether
> > > that amounts to a real issue for unionfs, or just removal of dead code.
> >
> > thanks.
> >
> > > This should follow git-unionfs.patch
> > > I notice my unionfs-fix-memory-leak.patch
> > > and fsstack-fsstack_copy_inode_size-locking.patch
> > > are currently commented out, yet I don't recall the
> > > mm-commits dispatch rider bringing me a telegram to explain why?
> >
> > git-unionfs got commented out because of some upstream git (or build)
> > catastrophe. So its fixes got comemnted out too. Then git-unionfs was
> > restored but I forgot to manually restore the followon fixes. It
> > happens.
>
> Shortly I'm going to post fixes which include Hugh's stuff and more. Sorry
> for the delay.
>
> > I must say that I'm not really sure why we're struggling along with
> > unionfs. Last I heard there were fundamental, unresolveable design
> > disagreements with the VFS guys. Those issues should be where 100% of
> > the effort is being devoted, but instead we seem to be cruising along
> > in a different direction?
>
> Some of my upcoming patches begin to address this (took longer than
> expected):
>
> - extracting all whiteout related code into callable methods in unionfs, so
> that I can "drop in" the new whiteout code that Bharata et al. are
> reportedly working on. I really hope to see some new whiteout code in -mm
> soon. Bharata?

When I last checked, David Woodhouse/Jan Blunck were working on this.
Looks like they have become busy with other work now. I can take that work
forward.

Jan/David, if this means duplicating your efforts, please let me know.

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/