[PATCH 12/15] parallel lookups machinery, part 2

2016-04-15 Thread Al Viro
From: Al Viro We'll need to verify that there's neither a hashed nor in-lookup dentry with desired parent/name before adding to in-lookup set. One possible solution would be to hold the parent's ->d_lock through both checks, but while the in-lookup set is relatively

[PATCH 12/15] parallel lookups machinery, part 2

2016-04-15 Thread Al Viro
From: Al Viro We'll need to verify that there's neither a hashed nor in-lookup dentry with desired parent/name before adding to in-lookup set. One possible solution would be to hold the parent's ->d_lock through both checks, but while the in-lookup set is relatively small at any time, dcache is