Re: kernel BUG at /data/lemmy/linux.trees.git/fs/nfs/idmap.c:681!

From: Myklebust, Trond
Date: Thu Sep 27 2012 - 12:16:21 EST


On Thu, 2012-09-27 at 17:39 +0200, Joerg Roedel wrote:
> On Thu, Sep 27, 2012 at 03:32:02PM +0000, Myklebust, Trond wrote:
>
> > Does your checked out copy of 3.6-rc7 contain commit c50669 (NFS:
> > Clear key construction data if the idmap upcall fails)? The latter was
> > merged in3.6-rc3, and is reported to fix the problem for the other
> > testers.
>
> Yes, it contains that commit. I was about to test plain v3.6-rc7 without
> my patches (not nfs related, of cource) on-top, but unfortunatly the
> disk with the root-fs died :-/
> I am about to set up the box again and test plain -rc7.

Please do.

I cannot see how that BUG_ON can be triggered in the current code, given
that the only place where idmap->idmap_key_cons is set to a non-NULL
value is covered by a mutex, and that it is always cleared before we
release said mutex.

--
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_