From: "J. Bruce Fields" Subject: Re: kernel BUG at fs/dcache.c:2105 (__d_rehash(): BUG_ON(!d_unhashed(entry))) Date: Tue, 18 Sep 2012 17:23:17 -0400 Message-ID: <20120918212317.GB21472@fieldses.org> References: <20120918200408.GC15575@fieldses.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "linux-fsdevel@vger.kernel.org" , "dbavatar@gmail.com" To: "Banerjee, Debabrata" Return-path: Received: from fieldses.org ([174.143.236.118]:48661 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754630Ab2IRVXS (ORCPT ); Tue, 18 Sep 2012 17:23:18 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Sep 18, 2012 at 04:58:24PM -0400, Banerjee, Debabrata wrote: > On 9/18/12 4:04 PM, "J. Bruce Fields" wrote: >=20 > >On Mon, Sep 17, 2012 at 06:53:16PM -0400, Banerjee, Debabrata wrote: > >[229978.873082] Pid: 11817, comm: xxxxxxxx. Not tainted 3.0.30-3.0.1= -amd64 > > > >What's 3.0.30-3.0.1? Is this reproduceable with an upstream kernel? > > > >--b. >=20 > An internal build number, it's 3.0.30. But it looks like line 2105 of 3.0.30 is a comment?: $ git show v3.0.30:fs/dcache.c |nl|grep '2105' 2105 * This helper attempts to cope with remotely renamed directories $ git grep -n 'BUG_ON(!d_unhashed(entry))' v3.0.30:fs/dcache.c v3.0.30:fs/dcache.c:2077: BUG_ON(!d_unhashed(entry)); Just curious. --b. > Also I already skimmed for relevant > patches to fs/ext2/* and fs/dcache* in stable and mainline and could = find > none. My best guess right now is a race somewhere in ext2, dentry mus= t get > rehashed between __d_drop(dentry) and __d_rehash(dentry,=C5=A0) in __= d_move(). >=20 > -Debabrata >=20 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html