[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFz=57VU85jEe51TySUtC-gaVKzNsQGLX2HgD2tcz7ausw@mail.gmail.com>
Date: Sun, 17 May 2015 09:56:13 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Al Viro <viro@...iv.linux.org.uk>
Cc: NeilBrown <neilb@...e.de>, Andreas Dilger <adilger@...ger.ca>,
Dave Chinner <david@...morbit.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-fsdevel <linux-fsdevel@...r.kernel.org>,
Christoph Hellwig <hch@...radead.org>
Subject: Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks
On Sun, May 17, 2015 at 9:43 AM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
>
> d_instantiate(dentry, inode);
>
> could decide that *before* it does that "d_instantiate()", it could
> pre-populate the child list of 'dentry' with the lookup information
> for 'b' (and possibly recursively for 'c' too under 'd').
Yech, nfs uses d_splice_alias(), so we'd have to add some logic to
throw away any preloaded entries there if we actually have an alias
and end up merging and using the alias. Or something. Because I think
we'd have a dentry leak otherwise.
So it wouldn't work "as-is", but it might still be reasonably easy.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists