The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/2] (Was: BUG_ON in rcu_sync_func triggered)
@ 2016-09-26 16:07 Oleg Nesterov
  2016-09-26 16:07 ` [PATCH 1/2] fs/super.c: fix race between freeze_super() and thaw_super() Oleg Nesterov
                   ` (2 more replies)
  0 siblings, 3 replies; 30+ messages in thread
From: Oleg Nesterov @ 2016-09-26 16:07 UTC (permalink / raw)
  To: Al Viro
  Cc: Dave Chinner, Jan Kara, Nikolay Borisov, Paul E. McKenney,
	linux-fsdevel, linux-kernel

Hello,

The patches do not depend on each other.

1/2 is the trivial fix, imo -stable material. The bug is very old it seems,
but today this race (leading to unbalanced unlock)  manifests itself via
mysterious BUG_ON's in rcu/sync.c.

2/2 is old, I forgot to send it before. It was already reviewed by Dave and Jan,
but the generic/068 test from xfstests triggered the warning. This was fixed by
dbad7c993053 "xfs: stop holding ILOCK over filldir callbacks" so we can hopefully
kill the early-lockdep-release kludge.

Oleg.

 fs/super.c | 43 ++++++++++++++++++++++++++++---------------
 1 file changed, 28 insertions(+), 15 deletions(-)

^ permalink raw reply	[flat|nested] 30+ messages in thread