From: Amir Goldstein <amir73il@gmail.com>
To: Nigel_Banks@waters.com
Cc: Jan Kara <jack@suse.cz>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
Mark Salyzyn <salyzyn@android.com>
Subject: Re: Deadlock in fsnotify for
Date: Fri, 28 Sep 2018 17:27:50 +0300 [thread overview]
Message-ID: <CAOQ4uxjd+gn=FqH-f84Pc6t+GuQtKMcqSMVpud8kwaP11oSytQ@mail.gmail.com> (raw)
In-Reply-To: <OFC1587FEF.00F5AC8A-ON80258316.004A23A8-80258316.004AAC30@waters.com>
On Fri, Sep 28, 2018 at 4:47 PM Nigel Banks <Nigel_Banks@waters.com> wrote:
>
> Hello Again,
>
> I've attached the kern.log as you instructed, please let me know if there is any more information I can provide.
>
>
>
> Cheers,
>
> Nigel
>
>
>
> From: Jan Kara <jack@suse.cz>
> To: Nigel Banks <Nigel_Banks@waters.com>
> Cc: jack@suse.cz, linux-fsdevel@vger.kernel.org, Amir Goldstein <amir73il@gmail.com>
> Date: 09/27/2018 05:24 PM
> Subject: Re: Deadlock in fsnotify for
> ________________________________
>
>
>
> Hello,
>
> [added to CC other relevant mails]
>
> On Thu 27-09-18 16:44:53, Nigel Banks wrote:
> > Sorry to trouble you, but from looking through the git history of linux/fs/
> > notify you seem to be the best person to contact.
> >
> > I've encounter a hard to reproduce situation that happens on our CI
> > servers, in which it becomes impossible to release any inotify file
> > descriptors. We're currently running Ubuntu 18.04 (Kernel 4.15) using
> > ext4 fs, and our code is running in docker containers (overlay2) if that
> > makes a difference.
> >
Nigel,
It actually could make a difference.
commit 764baba80168 ("ovl: hash non-dir by lower inode for fsnotify").
never made it to stable trees - it got stuck in the process:
https://www.spinics.net/lists/stable/msg250441.html
Can you check if Mark's backport patch (in the link above) solves your problem?
I have written an LTP test case to cover the fix - inotify08
and I can confirm that the test fails on Ubuntu 18.04, but the test does not
result in a hang, it results in events not being delivered, so not sure it is
related to the issue you are seeing. In any case, running inotofi over overlayfs
without this fix is not a good idea.
Mark,
Could you please re-post the backport patch per Greg's request.
Thanks,
Amir.
next prev parent reply other threads:[~2018-09-28 20:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <OFAA2B5164.CC89CD80-ON80258315.0053848D-80258315.005681B2@waters.com>
2018-09-27 16:24 ` Deadlock in fsnotify for Jan Kara
[not found] ` <OFC1587FEF.00F5AC8A-ON80258316.004A23A8-80258316.004AAC30@waters.com>
2018-09-28 14:27 ` Amir Goldstein [this message]
[not found] ` <OFD621F3D0.4B122C7F-ON80258319.00395CDF-80258319.00399966@waters.com>
2018-10-01 14:09 ` Amir Goldstein
2018-10-01 10:25 ` Jan Kara
[not found] ` <OFC1587FEF.00F5AC8A-ON80258316.004A23A8-80258316.004A4100@LocalDomain>
[not found] ` <OFBCEABA83.BA7DAF1C-ON80258319.003B1DB4-80258319.003B4841@LocalDomain>
[not found] ` <OF184949B9.0B312CF1-ON80258319.003B7FFA-80258319.003BA9B9@LocalDomain>
2018-10-01 11:09 ` Nigel Banks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOQ4uxjd+gn=FqH-f84Pc6t+GuQtKMcqSMVpud8kwaP11oSytQ@mail.gmail.com' \
--to=amir73il@gmail.com \
--cc=Nigel_Banks@waters.com \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=salyzyn@android.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).