Messages in this thread | | | From | Khazhismel Kumykov <> | Date | Mon, 12 Jun 2017 16:00:45 -0700 | Subject | Re: Hang/soft lockup in d_invalidate with simultaneous calls |
| |
On Fri, Jun 2, 2017 at 11:47 PM, Khazhismel Kumykov <khazhy@google.com> wrote: > On Fri, Jun 2, 2017 at 11:20 PM, Al Viro <viro@zeniv.linux.org.uk> wrote: >> The thing is, unlike shrink_dcache_parent() we *can* bugger off as >> soon as we'd found no victims, nothing mounted and dentry itself >> is unhashed. We can't do anything in select_collect() (we would've >> broken shrink_dcache_parent() that way), but we can do unhashing >> in check_and_drop() in "really nothing to do" case and we can return >> from d_invalidate() after that. So how about this: > That does the trick.
I'm not entirely familiar the process here, is the above change committed somewhere, should I propose a patch? [unhandled content-type:application/pkcs7-signature] | |