[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1334330040.2544.79.camel@sauron.fi.intel.com>
Date: Fri, 13 Apr 2012 18:14:00 +0300
From: Artem Bityutskiy <dedekind1@...il.com>
To: Josh Cartwright <joshc@...ux.com>,
Joakim Tjernlund <Joakim.Tjernlund@...nsmode.se>
Cc: Brian Norris <computersforpeace@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] jffs2: Fix lock acquisition order bug in gc path
On Thu, 2012-03-29 at 19:34 -0400, Josh Cartwright wrote:
> The locking policy is such that the erase_complete_block spinlock is
> nested within the alloc_sem mutex. This fixes a case in which the
> acquisition order was erroneously reversed. This issue was caught by
> the following lockdep splat:
I've added the follwing:
This was introduce in '81cfc9f jffs2: Fix serious write stall due to
erase'.
Cc: stable@...nel.org [2.6.37+]
and pushed to l2-mtd.git, thanks! CC-in Joakim to let him know that his
patch has a bug and that he might want this fix in his system(s) as
well.
--
Best Regards,
Artem Bityutskiy
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists