Messages in this thread | | | Date | Sun, 17 May 2015 09:56:13 -0700 | Subject | Re: [RFC][PATCHSET v3] non-recursive pathname resolution & RCU symlinks | From | Linus Torvalds <> |
| |
On Sun, May 17, 2015 at 9:43 AM, Linus Torvalds <torvalds@linux-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
| |