Quantcast
Viewing all articles
Browse latest Browse all 864

Re: [PATCH 4/4] fs/dcache: Avoid the try_lock loops in dentry_kill()

Linus Torvalds writes: (Summary) wrote:

[...]

would know if they needed to recheck the dentry contents. So you'd have to add another way to say "didn't need to drop dentry lock". And then your dentry_kill() patch can use a "switch ()" to handle the cases, and the whole "need to revalidate" might become pretty clear and clean.
might become pretty clear and clean.
I'd suggest you ignore lock_parent() for now. Unless you come up with something clever.
something clever.
Linus
Linus
Linus

Viewing all articles
Browse latest Browse all 864

Trending Articles