On Thu, 13 Feb 2025 13:20:06 +0000, Al Viro wrote: > On Thu, Feb 14, 2025 at 08:21:37PM +0800, Jinliang Zheng wrote: > > After commit 45f78b0a2743 ("fs/dcache: Move the wakeup from > > __d_lookup_done() to the caller."), we will only wake up > > d_wait_lookup() after adding dentry to dentry_hashtable. > > Not true. d_lookup_done() might be called without having > *ever* hashed the sucker. > > Just think for a moment - what, for example, should happen > if ->lookup() fails? Would you have d_alloc_parallel() > coming during that ->lookup() (while dentry is in in-lookup > hash) hang forever? Haha, yes, my bad. Thanks for pointing out my mistake. Thank you, :) Jinliang Zheng > > NAK.