Re: [PATCH v2 0/6] fs/dcache: avoid trylock loops

2018-02-22 Thread Linus Torvalds
On Thu, Feb 22, 2018 at 3:50 PM, John Ogness wrote: > > This patchset removes all trylock loops from within the dcache code. I'm not hating it. It may be because I got used (resigned?) to this from the discussion around the previous version. But it looks ok to me. But this is very much an area

[PATCH v2 0/6] fs/dcache: avoid trylock loops

2018-02-22 Thread John Ogness
Thank you Al Viro, Linus Torvalds, Peter Zijlstra, Amir Goldstein for the detailed feedback. Changes in v2: . dentry_lock_inode() - added quick out on trylock success - added comments to rcu section - expanded rcu coverage to all inode usage - if inode changes during d_lock window, res