Hi Al,
In the following configuration, I met a deadlock condition like below.
Kernel: 3.14-rc3
Workload: fsstress with 10 threads
Reproducible scenario: N/A
Is it related to this patch?
commit 1370e97bb2eb1ef2df7355204e5a4ba13e12b861
Author: Waiman Long<Waiman.Long@xxxxxx>
Date: Thu Sep 12 10:55:34 2013 -0400
seqlock: Add a new locking reader type
In d_walk(),
/*
* might go back up the wrong parent if we have had a
rename
* or deletion
*/
if (this_parent != child->d_parent ||
(child->d_flags& DCACHE_DENTRY_KILLED) ||
--> I suspect that the upper conditions can trigger rename_retry even
though rename_retry was done once before.
need_seqretry(&rename_lock, seq)) {
spin_unlock(&this_parent->d_lock);
rcu_read_unlock();
goto rename_retry;
}
Thanks,