On Sun, May 27, 2018 at 3:20 PM Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote: > We should've done that call right *after* successful ->rmdir(). That > reduces contention caused by tree-walking in shrink_dcache_parent() > and, especially, contention caused by evictions in two nested subtrees > going on in parallel. The same goes for directory-overwriting rename() - > the story there had been parallel to that of rmdir(). Looks eminently sane to me. Linus