Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664291 > unrolled thread

Re: Hang/soft lockup in d_invalidate with simultaneous calls

Started byKhazhismel Kumykov <khazhy@google.com>
First post2017-06-13 01:10 +0200
Last post2017-06-15 13:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Hang/soft lockup in d_invalidate with simultaneous calls Khazhismel Kumykov <khazhy@google.com> - 2017-06-13 01:10 +0200
    Re: Hang/soft lockup in d_invalidate with simultaneous calls Al Viro <viro@ZenIV.linux.org.uk> - 2017-06-15 13:00 +0200

#1664291 — Re: Hang/soft lockup in d_invalidate with simultaneous calls

FromKhazhismel Kumykov <khazhy@google.com>
Date2017-06-13 01:10 +0200
SubjectRe: Hang/soft lockup in d_invalidate with simultaneous calls
Message-ID<tRGD8-8H-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [next] | [standalone]


#1666650

FromAl Viro <viro@ZenIV.linux.org.uk>
Date2017-06-15 13:00 +0200
Message-ID<tSAFl-1qG-27@gated-at.bofh.it>
In reply to#1664291
On Mon, Jun 12, 2017 at 04:00:45PM -0700, Khazhismel Kumykov wrote:
> 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?

Sorry, got distracted by other stuff; I'll push that today.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web