linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.39-rc7 BUG in fs/namei.c:1362, bisected -- BKL, symlinks, and rename
@ 2011-05-14 16:56 Erez Zadok
  2011-05-14 20:40 ` Arnd Bergmann
       [not found] ` <1f1e296c81ca48ad8083f86d11db0116@HUBCAS1.cs.stonybrook.edu>
  0 siblings, 2 replies; 3+ messages in thread
From: Erez Zadok @ 2011-05-14 16:56 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: viro, arnd

Easily reproducible bug found in v2.6.39-rc7-174-gddb503b. This line in fs/namei.c:nested_symlink() is triggered:

	BUG_ON(nd->depth >= MAX_NESTED_LINKS);

To reproduce: run racer on any f/s.  I narrowed it down to just 'rename' and 'symlink' ops (verified that other ops aren't involved).

Bisection narrowed the bug down to this one commit:

commit f74b9444192c60603020c61d7915b72893137edc
Merge: 7a63628 4ba8216
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Wed Mar 16 17:21:00 2011 -0700

    Merge branch 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl
    
    * 'config' of git://git.kernel.org/pub/scm/linux/kernel/git/arnd/bkl:
      BKL: That's all, folks
      fs/locks.c: Remove stale FIXME left over from BKL conversion
      ipx: remove the BKL
      appletalk: remove the BKL
      x25: remove the BKL
      ufs: remove the BKL
      hpfs: remove the BKL
      drivers: remove extraneous includes of smp_lock.h
      tracing: don't trace the BKL
      adfs: remove the big kernel lock

I'm happy to test a fix if someone has one for me.  I suspect that once BKL was removed, some lock might now be missing somewhere in the VFS that relates to rename/symlink/lookup.  I'll keep digging.

Cheers,
Erez.


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

end of thread, other threads:[~2011-05-15  5:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-14 16:56 2.6.39-rc7 BUG in fs/namei.c:1362, bisected -- BKL, symlinks, and rename Erez Zadok
2011-05-14 20:40 ` Arnd Bergmann
     [not found] ` <1f1e296c81ca48ad8083f86d11db0116@HUBCAS1.cs.stonybrook.edu>
2011-05-15  5:30   ` Erez Zadok

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).