From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Oleg Drokin <green@linuxhacker.ru>
Cc: "devel@driverdev.osuosl.org SUBSYSTEM"
<devel@driverdev.osuosl.org>,
Andreas Dilger <andreas.dilger@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lustre Development List <lustre-devel@lists.lustre.org>
Subject: [lustre-devel] [PATCH] staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
Date: Wed, 7 Dec 2016 21:37:42 +0100 [thread overview]
Message-ID: <20161207203742.GA18474@kroah.com> (raw)
In-Reply-To: <C83556FF-AFD6-4B39-9714-E5B45CB05005@linuxhacker.ru>
On Wed, Dec 07, 2016 at 11:29:36AM -0500, Oleg Drokin wrote:
>
> On Dec 7, 2016, at 5:40 AM, Greg Kroah-Hartman wrote:
>
> > On Tue, Dec 06, 2016 at 10:53:48PM -0500, Oleg Drokin wrote:
> >> I have been having a lot of unexplainable crashes in osc_lru_shrink
> >> lately that I could not see a good explanation for and then I found
> >> this patch that slip under the radar somehow that incorrectly
> >> converted while loop for lru list iteration into
> >> list_for_each_entry_safe totally ignoring that in the body of
> >> the loop we drop spinlocks guarding this list and move list entries
> >> around.
> >> Not sure why it was not showing up right away, perhaps some of the
> >> more recent LRU changes committed caused some extra pressure on this
> >> code that finally highlighted the breakage.
> >>
> >> Reverts: 8adddc36b1fc ("staging: lustre: osc: Use list_for_each_entry_safe")
> >> CC: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
> >> Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
> >> ---
> >> I also do not see this patch in any of the mailing lists I am subscribed to.
> >> I wonder if there's a way to subscribe to those Greg's
> >> "This is a note to let you know that I've just added the patch ...."
> >> emails that concern Lustre to get them even if I am not on the CC list in
> >> the patch itself?
> >
> > This came in from the Outreacy application process, which now requires
> > that they cc: the maintainers to catch this type of issue. So you
> > should have seen these types of patches this last round, the commit you
> > reference was done before that change happened, sorry.
>
> Do you know approximate date range of when these patches ere sneaking in?
Anytime before a few months ago.
> I'd like to take a look at the rest of it proactively just to see if there are
> more undiscovered surprises?
If your testing isn't finding any problems, all should be good, right?
:)
WARNING: multiple messages have this Message-ID (diff)
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Oleg Drokin <green@linuxhacker.ru>
Cc: "devel@driverdev.osuosl.org SUBSYSTEM"
<devel@driverdev.osuosl.org>,
Andreas Dilger <andreas.dilger@intel.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Lustre Development List <lustre-devel@lists.lustre.org>
Subject: Re: [PATCH] staging/lustre/osc: Revert erroneous list_for_each_entry_safe use
Date: Wed, 7 Dec 2016 21:37:42 +0100 [thread overview]
Message-ID: <20161207203742.GA18474@kroah.com> (raw)
In-Reply-To: <C83556FF-AFD6-4B39-9714-E5B45CB05005@linuxhacker.ru>
On Wed, Dec 07, 2016 at 11:29:36AM -0500, Oleg Drokin wrote:
>
> On Dec 7, 2016, at 5:40 AM, Greg Kroah-Hartman wrote:
>
> > On Tue, Dec 06, 2016 at 10:53:48PM -0500, Oleg Drokin wrote:
> >> I have been having a lot of unexplainable crashes in osc_lru_shrink
> >> lately that I could not see a good explanation for and then I found
> >> this patch that slip under the radar somehow that incorrectly
> >> converted while loop for lru list iteration into
> >> list_for_each_entry_safe totally ignoring that in the body of
> >> the loop we drop spinlocks guarding this list and move list entries
> >> around.
> >> Not sure why it was not showing up right away, perhaps some of the
> >> more recent LRU changes committed caused some extra pressure on this
> >> code that finally highlighted the breakage.
> >>
> >> Reverts: 8adddc36b1fc ("staging: lustre: osc: Use list_for_each_entry_safe")
> >> CC: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
> >> Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
> >> ---
> >> I also do not see this patch in any of the mailing lists I am subscribed to.
> >> I wonder if there's a way to subscribe to those Greg's
> >> "This is a note to let you know that I've just added the patch ...."
> >> emails that concern Lustre to get them even if I am not on the CC list in
> >> the patch itself?
> >
> > This came in from the Outreacy application process, which now requires
> > that they cc: the maintainers to catch this type of issue. So you
> > should have seen these types of patches this last round, the commit you
> > reference was done before that change happened, sorry.
>
> Do you know approximate date range of when these patches ere sneaking in?
Anytime before a few months ago.
> I'd like to take a look at the rest of it proactively just to see if there are
> more undiscovered surprises?
If your testing isn't finding any problems, all should be good, right?
:)
next prev parent reply other threads:[~2016-12-07 20:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-07 3:53 [lustre-devel] [PATCH] staging/lustre/osc: Revert erroneous list_for_each_entry_safe use Oleg Drokin
2016-12-07 3:53 ` Oleg Drokin
2016-12-07 10:40 ` [lustre-devel] " Greg Kroah-Hartman
2016-12-07 10:40 ` Greg Kroah-Hartman
2016-12-07 16:29 ` [lustre-devel] " Oleg Drokin
2016-12-07 16:29 ` Oleg Drokin
2016-12-07 20:37 ` Greg Kroah-Hartman [this message]
2016-12-07 20:37 ` Greg Kroah-Hartman
2016-12-07 21:17 ` [lustre-devel] " Oleg Drokin
2016-12-07 21:17 ` Oleg Drokin
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=20161207203742.GA18474@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=andreas.dilger@intel.com \
--cc=devel@driverdev.osuosl.org \
--cc=green@linuxhacker.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=lustre-devel@lists.lustre.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.